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(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0123456789 Infinite loop 0 Syntax error 10 0123456789 Infinite loop 0 Syntax error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } Depends on the Compiler 4 Linker Error : Undefined symbol 'i' 2 Depends on the Compiler 4 Linker Error : Undefined symbol 'i' 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; Both of the above We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program None of these Need not contain any function. Needs input data. Must contain at least one function. None of these Need not contain any function. Needs input data. Must contain at least one function. ANSWER DOWNLOAD EXAMIANS APP