# Sasken Placement: Sample Questions 27 - 28 of 35

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

## Question 27

Edit

### Write in Short

Father is aged three times more than his son Rakesh. After 8 years, he would be two and a half times of Rakesh՚s age. After further 4 years, what will be father՚s age?

### Explanation

Let present age of father is x years and Ronit is y years,

After 8 years father will be 2.5 times of Ronit՚s age, i.e..

At present, age of Rakesh is 24 years old and his father will be years old.

After further four years, father՚s age will be,

## Question 28

Edit

### Write in Short

int (⚹ P [10] ) () ;

In above declaration what type of variable is P?

### Explanation

• P is array of pointers that each points to a function that takes no arguments and returns an integer
• Here, P is a pointer to an array of 10 integers.
• An array is a collection of similar elements. An array is similar to an ordinary variable except that it can store multiple elements of similar data type. Array elements are stored in contiguous memory locations and so they can be accessed using pointers. To know the address of any element of array we need to use “address of” operator (&) . To know the value of any element of array we need to use “value at address” operator (⚹) .

Developed by: