C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 20 Compiler Error Linker Error 2 20 Compiler Error Linker Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 8 5 5 2 4 4 2 5 5 2 4 5 8 5 5 2 4 4 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 1 0 None of these 0 1 1 1 0 0 1 0 None of these 0 1 1 1 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 2 2 1 1 2 1 1 2 2 2 1 1 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 1 11 Error 12 1 11 Error 12 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]){} 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]){} void fun(int p[][4]){} ANSWER DOWNLOAD EXAMIANS APP