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 garbage value None of these. will print Hello World Compilation Error will print garbage value None of these. will print Hello World Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... stdin stderr no such function in 'C'. Data file string stdin stderr no such function in 'C'. Data file string ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 11 None of These 9 10 11 None of These 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 1 2 Error -2 1 2 Error -2 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++);} 6 Compiler Error 7 5 0 6 Compiler Error 7 5 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? float char double int real float char double int real ANSWER DOWNLOAD EXAMIANS APP