Professional Documents
Culture Documents
Note: 1 Mark for right answer and -0.25 mark for Wrong Answer.
Q.6 Which one is the correct order of evaluation for the below expression?
z=x+y*z/4%2-1 A. * / % + - = C. / * % - + = B. = * / % + D. * % / - + =
A.10 times
B.5 times
C.6 times
D.Infinite loop
Q12. C provides loop constructs for performing loop operations. They are
D. All of above
Q.13.What will this program display? #include <stdio.h> main() { float f; f=10/3; printf ("%d",f); }
A. 3.3
B. 3.0
C. 3
D. 0
B. IF (=) BREAK;
B.IF-ELSE statement
Q.16. Overloaded functions are A. B.. Very long functions that can hardly run One function containing another one or more functions inside it.
C. Two or more functions with the same name but different number of parameters or type. D. None of above
Q.17 What is the output of code given below? #include<stdio.h> main() { const int i =4; float j; j = ++i; printf( %d",i++); } A.5 B. 6 C. 4 D. Compiler error
Q.18 Which of the following can not be used as Identifier ? A.Letters B.Digits C.Underscores D Spaces
A. The variable a and the variable b are equal. B. The value of b is assigned to variable a but the later changes on variable b will not effect the value of variable a C. The value of b is assigned to variable a and the later changes on variable b will effect the value of variable a D. The value of variable a is assigned to variable b and the value of variable b is assigned to variable a.
A. True
B. False
C. Unevaluatable
D. 0