Professional Documents
Culture Documents
a. Select
b. If
c. Switch
d. For
2) C programming : State true of false.
a. True
b. False
3) C programming : Suppose that x is a one dimensional array, then choose the
correct answer regarding array.
a. array
b. structure
c. stack
d. None of the above.
5) C programming : Trace the output
int main()
{
int a=12,b=39;
printf ("%d",a&b);
return 0;
}
a. 468
b. 0
c. 4
d. None of the above.
6) C programming : Trace the output.
void main()
{
int i=2,j=2;
while(i+1?--i:j++)
printf("%d",i);
}
a. 1
b. 2
c. ERROR
d. None of the above.
7) C programming : Match the following:
a. char
b. int
c. char *
d. Reading character doesn't require a return-type
10) Which of the following cannot be checked in a switch-case statement?
(C programming)
a. Character
b. Integer
c. Float
d. enum