C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 1 1 2 2 2 2 1 1 1 1 2 2 2 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} no error no output 1 complier error 0 no error no output 1 complier error 0 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]){} void fun(int *p[][4]){} void fun(int p[][4]){} None of these void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int *p[][4]){} void fun(int p[][4]){} None of these void fun(int *p[3][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(); None of these int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } 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 1 30 15 10 -5 1 30 15 10 -5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when It is a formal parameter All of these Initialization is a part of definition It is a declaratrion It is a formal parameter All of these Initialization is a part of definition It is a declaratrion ANSWER DOWNLOAD EXAMIANS APP