C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} None of these World WorldHello Hello Hello World None of these World WorldHello Hello Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Error Unequal None of these. Equal Error Unequal None of these. Equal ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 6 10 None of these 0 1 6 10 None of these 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Examians Exam_veda Both A and B Exam veda None of these Examians Exam_veda Both A and B Exam veda None of these 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);} will print Hello World None of these. Compilation Error will print garbage value will print Hello World None of these. Compilation Error will print garbage value 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;} ERROR RED WHITE BLUE ERROR RED RED ERROR RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED RED ERROR RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP