C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 6 4 5 Error 6 4 5 Error ANSWER DOWNLOAD EXAMIANS APP
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"); } } XAM is printed Nothing is printed Compiler Error exam is printed XAM is printed Nothing is printed Compiler Error exam is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H None of these. Some address will be printed Hello H None of these. Some address will be printed Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 4 10 5 3 4 10 5 5 5 10 5 3 3 10 5 4 3 10 5 4 4 10 5 3 4 10 5 5 5 10 5 3 3 10 5 4 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD BAD None of These Compiler Error GOOD GOOD BAD None of These Compiler Error GOOD ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} None of these Garbage Value 5 0 6 None of these Garbage Value 5 0 6 ANSWER DOWNLOAD EXAMIANS APP