Tuesday, November 6, 2012

Intergraph olacement paper 2011

2011 Intergraph Placement Paper:

1.
5-2-3*5-2 will give 18 if

(a)- is left associative,* has precedence over -
(b) - is right associative,* has precedence over -
(c) - is right associative,- has precedence over *
(d)- is left associative,- has precedence over *

2. printf("%f", 9/5);

prints
(a) 1.8,
(b) 1.0,
(c) 2.0,
(d) none
.
3. if (a=7)
printf(" a is 7 ");
else
printf("a is not 7");
prints
(a) a is 7,
(b) a is not 7,
(c) nothing,
(d) garbage.

Click Here    Intergraph olacement paper 2011

No comments:

Post a Comment