C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 15 10 12 11 15 10 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 6 5 7 8 9 6 5 7 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to -1 -10 to infinite Complier error -10 to 0 -10 to -1 -10 to infinite Complier error -10 to 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array 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);} None of these void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int *p[][4]){} None of these void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int *p[][4]){} 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 None of these Exam Veda Exam\0Veda Veda Exam None of these Exam Veda ANSWER DOWNLOAD EXAMIANS APP