C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 3 2 4 2 3 3 4 2 2 3 3 2 4 2 3 3 4 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 5 7 6 Compiler Error 0 5 7 6 Compiler Error 0 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 mmm nnn aaa mmmm nnnn aaaa Compiler Error None of These mmm nnn aaa mmmm nnnn aaaa ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 1 2 3 4 Runtime error 4 5 6 7 Syntax error 4 1 2 3 4 Runtime error 4 5 6 7 Syntax error 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]);} Code will not compile Garbage value 0 0 0 0 Garbage Value Garbage vlaue Garbage Value Code will not compile Garbage value 0 0 0 0 Garbage Value Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int value=0; if(value) printf("well done "); printf("examveda");} well done examians complier error None of these examians well done examians complier error None of these examians ANSWER DOWNLOAD EXAMIANS APP