C Language MCQ - English
What number would be shown on the screen after the following statements of C are
Home | Discussion Forum 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);
5
6
7
8
Answer : B
View More Related Question
1) C Language developed at _________?
AT & T's Bell Laboratories of USA in 1972
AT & T's Bell Laboratories of USA in 1970
Sun Microsystems in 1973
Cambridge University in 1972
View Answer
2) What are the types of linkages?
3) When we mention the prototype of a function?
4) A compiler is:
A machine-independent and OS-independent
Machine-dependent and OS-dependent
Machine-dependent and OS-independent
Machine-independent and OS-dependent
View Answer
5) Which one of the following is not a valid identifier?