C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam\0Veda None of these Veda Exam Exam Veda Exam\0Veda None of these Veda Exam Exam Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 65 65 Syntax error 065 65 053 65 53 65 65 65 Syntax error 065 65 053 65 53 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is an pointer to array ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers 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)); } Syntax error Runtime error 4 4 5 6 7 1 2 3 4 Syntax error Runtime error 4 4 5 6 7 1 2 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} P None of These N M P None of These N M ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} Compiler Error GOOD GOOD BAD None of These Compiler Error GOOD GOOD BAD None of These ANSWER DOWNLOAD EXAMIANS APP