C Programming What does the following declaration mean?int (*ptr)[10]; ptr is an array of 10 integers ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is an pointer to array 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)); } Runtime error 1 2 3 4 Syntax error 4 4 5 6 7 Runtime error 1 2 3 4 Syntax error 4 4 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? defg fg bcdefg cdefg efg defg fg bcdefg cdefg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Makes the debugging task easier. Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. All of these Makes the debugging task easier. Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam\0Veda Veda Exam Veda Exam None of these Exam\0Veda Veda Exam Veda Exam None of these ANSWER DOWNLOAD EXAMIANS APP