Question 1 of 25
Hints left: 3
Q1
Which one of the following is not a valid identifier?
Q2
C programs are converted into machine language with the help of
Q3
If ASCII value of 'x' is 120, then what is the value of the H, if H = ('x' – 'w' ) / 3;
Q4
"My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above.
Q5
Variable name resolution (number of significant characters for the uniqueness of variable) depends on . . . . . . . .
Q6
Which of following is not a valid name for a C variable?
Q7
C Language developed at _________?
Q8
For 16-bit compiler allowable range for integer constants is ________?
Q9
Will the following C code compile without any error? #include <stdio.h> int main() { for (int k = 0; k < 10; k++); return 0; }
Q10
A C variable cannot start with
Q11
Which is the only function all C programs must contain?
Q12
What will be the output of the following C code? #include <stdio.h> void main() { int x = 97; char y = x; printf("%c\n", y); }
Q13
If integer needs two bytes of storage, then maximum value of an unsigned integer is
Q14
Which of the following is not a correct variable type?
Q15
What is the difference between a declaration and a definition of a variable?
Q16
Who is father of C Language?
Q17
Find the output of the following program. void main() { int i=01289; printf("%d", i); }
Q18
Standard ANSI C recognizes ______ number of keywords?
Q19
Which one of the following is not a reserved keyword for C?
Q20
What will be printed after execution of the following program code? main() { printf("\\nab"); printf("\\bsi"); printf("\\rha"); }
Q21
short testarray[4][3] = { {1}, {2,3}, {4,5,6}}; printf("%d", sizeof(testarray)); Assuming a short is two bytes long, what will be printed by the above code?
Q22
What number would be shown on the screen after the following statements of C are executed? char ch; int i; ch = 'G'; i = ch-'A'; printf("%d", i);
Q23
Find the output of the following program. void main() { int i=065, j=65; printf("%d %d", i, j); }
Q24
What is the correct value to return to the operating system upon the successful completion of a program?
Q25
C was primarily developed as