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 Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Runtime error No output Syntax error 6 8 Runtime error No output Syntax error 6 8 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);} None of these. Compilation Error will print garbage value will print Hello World None of these. Compilation Error will print garbage value will print Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value Compiler Error 6 5 Garbage Value Compiler Error 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? default auto case main register default auto case main register 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 );} 2 9 1 0.25 0.5 2 9 1 0.25 0.5 ANSWER DOWNLOAD EXAMIANS APP