C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 Compiler Error 20 Linker Error 2 Compiler Error 20 Linker Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} Error None of These %d\n 300 Error None of These %d\n 300 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of macros Acts before compilation Takes care of include files Takes care of conditional compilation All of these Takes care of macros Acts before compilation Takes care of include files Takes care of conditional compilation All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 5 None of these 6 Error 9 5 None of these 6 Error 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 1 33 Compilation Error -1 0 1 33 Compilation Error -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 2 0, 2 2, 0 2, 4 4, 4 2, 2 0, 2 2, 0 2, 4 4, 4 ANSWER DOWNLOAD EXAMIANS APP