C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Nothing is printed exam is printed Compiler Error XAM is printed Nothing is printed exam is printed Compiler Error XAM is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. There is no difference between them. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. There is no difference between them. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error Can't Say None of These will print Hello World Compiler Error Can't Say None of These will print Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 None of these 5 4 3 2 1 Infinite Loop Compilation Error 5 5 5 5 5 None of these 5 4 3 2 1 Infinite Loop Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 1 1 1 0 0 0 garbage values Error 1 1 1 0 0 0 garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1972 Sun Microsystems in 1973 ANSWER DOWNLOAD EXAMIANS APP