C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 Linker Error Compiler Error 20 2 Linker Error Compiler Error 20 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"));} 8 5 5 2 4 4 2 4 5 2 5 5 8 5 5 2 4 4 2 4 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Compiler time error 10 Undefined behavior Segmentation fault/runtime crash Compiler time error 10 Undefined behavior Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as System programming language None of these General purpose language Data processing language System programming language None of these General purpose language Data processing language ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by reference call by value None of these. call by value result call by reference call by value None of these. call by value result 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); }} Run time error 20 20 10 10 10 20 Run time error 20 20 10 10 10 20 ANSWER DOWNLOAD EXAMIANS APP