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"); } } Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed exam is printed XAM is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Unequal Equal None of these. Error Unequal Equal None of these. Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 Garbage Value 1 None of These 10 Garbage Value 1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 0 0 0 Error garbage values 1 1 1 0 0 0 Error garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 12 10 11 13 22 13 14 14 22 12 12 13 22 14 12 13 22 11 11 11 12 10 11 13 22 13 14 14 22 12 12 13 22 14 12 13 22 11 11 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 4, c = 6 b = 3, c = 6 a = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 4, c = 6 b = 3, c = 6 ANSWER DOWNLOAD EXAMIANS APP