A C variable cannot start with Both of the above A number A special symbol other than underscore An alphabet TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These sizeof(i)=1 Compiler Error sizeof(i)=2 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop None of these 5 4 3 2 1 Compilation Error 5 5 5 5 5 TRUE ANSWER : ? YOUR ANSWER : ?
Which operator from the following has the lowest priority? Conditional operator Assignment operator Division operator Unary-operator Comma operator TRUE ANSWER : ? YOUR ANSWER : ?
What is the correct value to return to the operating system upon the successful completion of a program? 1 2 Program do no return a value. -1 TRUE ANSWER : ? YOUR ANSWER : ?
Find the output of the following program.#include<stdio.h>void main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 12 14 13 11 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following comments about the ++ operator are correct? It associates from the right It is a unary operator It cannot be applied to an expression All of these The operand can come before or after the operator TRUE ANSWER : ? YOUR ANSWER : ?
Array passed as an argument to a function is interpreted as Address of the array. Number of element of the array. Address of the first element of the array. Values of the first elements of the array. TRUE ANSWER : ? YOUR ANSWER : ?
Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 053 65 53 65 65 65 065 65 Syntax error TRUE ANSWER : ? YOUR ANSWER : ?
C Language developed at _________? AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1970 TRUE ANSWER : ? YOUR ANSWER : ?