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]){} void fun(int *p[4]){} void fun(int *p[3][4]){} None of these void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} None of these void fun(int *p[][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 -5 1 10 30 15 -5 1 10 30 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value 6 Compiler Error 5 Garbage Value 6 Compiler Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 14 12 13 11 Compilation error 14 12 13 11 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? AT & T's Bell Laboratories of USA in 1970 AT & T's Bell Laboratories of USA in 1972 Sun Microsystems in 1973 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1970 AT & T's Bell Laboratories of USA in 1972 Sun Microsystems in 1973 Cambridge University in 1972 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 50 None of These Compiler Error 10 50 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP