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)); } Syntax error Runtime error 4 5 6 7 1 2 3 4 4 Syntax error Runtime error 4 5 6 7 1 2 3 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 5 2 4 4 8 5 5 2 5 5 2 4 5 2 4 4 8 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi followed by garbage value h Error hi Garbage Value hi followed by garbage value h Error hi Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These make an infinite loop Error Some address will be printed None of These make an infinite loop Error Some address will be printed 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 None of these complier error examians well done examians None of these complier error examians ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} Good Morning Good Morning M None of these Good Morning Good Morning M None of these ANSWER DOWNLOAD EXAMIANS APP