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. Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World 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);} C NOITANIMAXE C Syntax error No output at all. NOITANIMAXE C NOITANIMAXE C Syntax error No output at all. NOITANIMAXE ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? _examians 1examians examians1 exam_veda _examians 1examians examians1 exam_veda ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 0 1 complier error no error no output 0 1 complier error no error no output ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II and III I, II and III I, II, III and IV I and II II, III and IV II and III I, II and III I, II, III and IV I and II II, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0713 713 1289 0289 Syntax error 0713 713 1289 0289 Syntax error ANSWER DOWNLOAD EXAMIANS APP