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 12 7 6 6 11 6 6 7 5 6 12 7 6 6 11 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Segmentation fault/runtime crash 10 Compiler time error Undefined behavior Segmentation fault/runtime crash 10 Compiler time error Undefined behavior ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 0 0 0 garbage values Error 1 1 1 0 0 0 garbage values Error 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. I and III II and IV I and II III and IV II and III I and III II and IV I and II III and IV II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These make an infinite loop Some address will be printed Error None of These make an infinite loop Some address will be printed Error ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is legal but meaningless is illegal is syntactically and semantically correct None of these. is legal but meaningless is illegal is syntactically and semantically correct None of these. ANSWER DOWNLOAD EXAMIANS APP