C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 0 complier error 1 no error no output 0 complier error 1 no error no output ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 None of These Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of These Infinite Loop 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) There should be a semicolon at the end of the statement. The increment should always be ++k . The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The commas should be semicolons. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Compiler Error None of These Can't Say will print Hello World Compiler Error None of These Can't Say ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 20 Linker Error 2 Compiler Error 20 Linker Error 2 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? -1 1 Program do no return a value. 2 -1 1 Program do no return a value. 2 ANSWER DOWNLOAD EXAMIANS APP