C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 None of These 10 Compiler Error 50 None of These 10 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE No output at all. NOITANIMAXE C Syntax error C NOITANIMAXE No output at all. NOITANIMAXE C Syntax error C 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 II and III I and II III and IV I and III II and IV II and III I and II III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=1 x=4 x=0 x=5 Error x=1 x=4 x=0 x=5 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..50 10..10 Error 0 10..50 10..10 Error 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The recursive functions are executed in a ........... First In First Out order Iterative order Last In First Out order Parallel order Random order First In First Out order Iterative order Last In First Out order Parallel order Random order ANSWER DOWNLOAD EXAMIANS APP