C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam\0Veda Veda None of these Exam Veda Exam Exam\0Veda Veda None of these Exam Veda Exam ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? None of these arr[7] arr[6] arr{7} arr{6} None of these arr[7] arr[6] arr{7} arr{6} ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 1 Compilation Error 33 0 -1 1 Compilation Error 33 0 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 2 1 Garbage Value 0 3 2 1 Garbage Value 0 3 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 Syntax error NOITANIMAXE C No output at all. NOITANIMAXE C Syntax error NOITANIMAXE C No output at all. NOITANIMAXE ANSWER DOWNLOAD EXAMIANS APP