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 Compiler Error exam is printed XAM is printed Nothing is printed Compiler Error exam is printed XAM is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Error 6 Garbage value 3 Error 6 Garbage value 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? 1examians _examians exam_veda examians1 1examians _examians exam_veda examians1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } int funct(); void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these void funct(x) { printf(“Hello"); } int funct(); void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these 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 Compilation Error Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of these Compilation Error Infinite Loop 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Both of the above Local variables Members of a structure Arithmetic expressions R-values Both of the above Local variables Members of a structure Arithmetic expressions R-values ANSWER DOWNLOAD EXAMIANS APP