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);} None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? Dr. Dennis Ritchie F. Codd Bjarne Stroustrup Gosling James Dr. Dennis Ritchie F. Codd Bjarne Stroustrup Gosling James ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } Compiler Error 3 hello None of these Linking error Compiler Error 3 hello None of these Linking error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop 5 5 5 5 5 Compilation Error 5 4 3 2 1 None of these Infinite Loop 5 5 5 5 5 Compilation Error 5 4 3 2 1 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command comes before the first executable statement need not start on a new line need not start on the first column has # as the first character comes before the first executable statement need not start on a new line need not start on the first column has # as the first character ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} No output at all. NOITANIMAXE C Syntax error C NOITANIMAXE No output at all. NOITANIMAXE C Syntax error C NOITANIMAXE ANSWER DOWNLOAD EXAMIANS APP