C Programming The declarationint (*p) [5];means p is one dimensional array of size 5, of pointers to integers. None of these. p is a pointer to a 5 elements integer array. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. None of these. p is a pointer to a 5 elements integer array. The same as int *p[ ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compilation Error will print Hello World None of these. will print garbage value Compilation Error will print Hello World None of these. will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 20 20 10 20 Run time error 10 10 20 20 10 20 Run time error 10 10 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
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 450 10 -10 110 -110 450 10 -10 110 -110 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]){} 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 ANSWER DOWNLOAD EXAMIANS APP