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 Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error 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);} 14 Compilation error 11 12 13 14 Compilation error 11 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED ERROR RED RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED ERROR RED RED WHITE BLUE RED WHITE BLUE ERROR ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam_veda Both A and B Examians None of these Exam veda Exam_veda Both A and B Examians None of these Exam veda ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 444 000 Garbage Value 433 333 444 000 Garbage Value 433 333 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? None of these skip continue break resume None of these skip continue break resume ANSWER DOWNLOAD EXAMIANS APP