C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 20 2 Linker Error Compiler Error 20 2 Linker Error Compiler Error 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);} will print Hello World None of these. will print garbage value Compilation Error will print Hello World None of these. will print garbage value Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} Compiler Error 7 5 6 0 Compiler Error 7 5 6 0 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; }} Error three None of These zero Error three None of These zero ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I, III and IV I and II I, II and III III and IV II and III I, III and IV I and II I, II and III III and IV II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Can't Say None of These Compiler Error will print Hello World Can't Say None of These Compiler Error will print Hello World ANSWER DOWNLOAD EXAMIANS APP