Nov 25, 2010

16. Find the output.

int main()
{
int ***r, **q, *p, i=8;
p = &i;
q = &p;
r = &q;
printf("%d, %d, %d\n", *p, **q, ***r);
return 0;
}

Answer:
8,8,8

Nov 20, 2010

13. Total monthly salary of 4men and 2women is 46,000. If woman earn 500 more than man, then the salary of woman??

Answer:
Rs. 8000
Explanation:
Let x be salary of man.
y be salary of woman.
Then,
4x+2y=46000
x=y-500.
By solving above 2 equations we get y=8000

Nov 19, 2010

12. Find the speed of the 2nd train.

A train 108m long moving at a speed of 50km/hr crosses a train 112m long coming from opposite direction in 6sec.The speed of the 2nd train is??


Answer:
82 km/hr
Explanation:
Let the speed of the second train be x km/hr.
Relative speed= (x + 50) km/hr

=[(x + 50) x5]m/sec
18

=[250 + 5x]m/sec.
18

Distance covered = (108 + 112) = 220 m.
Therefore220= 6
(250 + 5x(
18
=> 250 + 5x = 660
=> x = 82 km/hr.

11. Find the direction.

If South-East becomes North, North-East becomes West and so on. What will West become?

Answer: 
South - East
Explanation:
It is clear from the diagrams that new name of West will become South-East.

Nov 18, 2010

10. What is the age of the youngest child?

The sum of the ages of 5 children born at the interval of 3 years each is 50 years. What is the age of the youngest child?

Answer: 
4 years.

Explanation:
Let the ages of the children be x, (x + 3), (x + 6), (x + 9) and (x + 12) years.
Then, x + (x + 3) + (x + 6) + (x + 9) + (x + 12) = 50
     =>5x = 20
     =>x = 4.
Therefore, Age of the youngest child = x = 4 years.

Nov 16, 2010

9. Find the number.

When 75% of a number is added to 75, it results in the number itself. Find the number?

Answer:
300
Explanation:
Let the number be ‘x’. 75% of x can be written as 3/4x.
Given, 3/4x+75=x
Solving gives x=300.

8. Find the next no.

 7-3=10124
6+3=9279
5-2=763
11+2=132613
15-3=? ?


Answer: 
183612

Nov 14, 2010

7. Find the length of the wire.

A copper sphere of diameter 9 cm is melted and drawn into a wire of 2 mm diameter. The length of the wire is???

Answer:  
1093.5 mm or 1.1m (approx)
Explanation:
Volume of Sphere = Volume of wire(cylinder)
4(pi*R^3)/3 = pi*r^2*h
R=4.5 & r=1mm
h=1093.5 mm or 1.1m(approx)