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 The function scanf() returns ......... ASCII value of the input read. The actual values read for each argument. 0 The number of successful read input values. 1 ASCII value of the input read. The actual values read for each argument. 0 The number of successful read input values. 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 11 12 10 15 11 12 10 15 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);} void fun(int *p[][4]){} None of these void fun(int p[][4]){} void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int *p[][4]){} None of these void fun(int p[][4]){} void fun(int *p[3][4]){} void fun(int *p[4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int(*p(char *))[] None of these. int *p(char *)[] int (*p) (char *)[] int(*p(char *))[] None of these. int *p(char *)[] int (*p) (char *)[] ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 50, 13, 24, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 50, 13, 24, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 50 ANSWER DOWNLOAD EXAMIANS APP