C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 10 14 0 1 10 14 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of conditional compilation Takes care of macros All of these Acts before compilation Takes care of include files Takes care of conditional compilation Takes care of macros All of these Acts before compilation Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} zero three Error None of These zero three Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } Runtime error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } None of these void funct(x) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } None of these void funct(x) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value 5 6 Compiler Error Garbage Value 5 6 Compiler Error ANSWER DOWNLOAD EXAMIANS APP