C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of These Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 Code will not compile 0 Garbage Value Garbage vlaue Garbage Value Garbage value 0 0 0 Code will not compile 0 Garbage Value Garbage vlaue Garbage Value Garbage value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns 1 true -1 None of these 0 1 true -1 None of these 0 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);} Syntax error C NOITANIMAXE C No output at all. NOITANIMAXE Syntax error C NOITANIMAXE C No output at all. NOITANIMAXE ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[][4]){} void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int p[][4]){} None of these void fun(int *p[][4]){} void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int p[][4]){} None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float *ptr; *float ptr; None of these float ptr; float *ptr; *float ptr; None of these float ptr; ANSWER DOWNLOAD EXAMIANS APP