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. will print garbage value will print Hello World Compilation Error None of these. will print garbage value will print Hello World Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} complier error 0 no error no output 1 complier error 0 no error no output 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 0.25 9 0.5 2 1 0.25 9 0.5 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } et ow ck te et ow ck te ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Block scope No scope at all Local scope Function scope File scope Block scope No scope at all Local scope Function scope File scope ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 13 12 Compilation error 11 14 13 12 Compilation error 11 14 ANSWER DOWNLOAD EXAMIANS APP