Thursday, April 7, 2011

Answer These Five Questions - Daily Questions

1) C- Language is a:
a) High level language                                     b) Low level language
c) High level language with low level features.

2) What is the value of d in the following C-language assignment statement when a is 8, d is 10 and b is 16. {d+=(a>0&a<=10)?++a:a/b}
a) 19            b) 18              c) 9              d) 0.5

3) The value of the arithmetic expression in C
2*{i%5) * (4+(j-3)/(k+2))}
When i is 8, j = 15 and k is 4 is
a) 12            b) 19.2          c) 36              d) 57.6

4) Equivalent hexadecimal number for 69 decimal number in C-programis:
a) 0x45        b) 0x69          c) 0x54          d) 0x96

5) In C, which of the following type of operators have the highest precedence:
a) Relational operator                       b) Logical operator
c) Equality operator                          d) Arithmetic operator

Answer These Above Questions in Comments, Waiting to see who can answer...

No comments:

Post a Comment