C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 5 6 6 6 11 6 12 7 6 7 5 6 6 6 11 6 12 7 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);} 6 3 Garbage value Error 6 3 Garbage value Error 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
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? No data type float int unsigned int Depends upon the type of the variable to which it is pointing. No data type float int unsigned int Depends upon the type of the variable to which it is pointing. 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 Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed exam is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} Compiler Error None of These mmmm nnnn aaaa mmm nnn aaa Compiler Error None of These mmmm nnnn aaaa mmm nnn aaa ANSWER DOWNLOAD EXAMIANS APP