C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam None of these Exam Veda Veda Exam\0Veda Exam None of these Exam Veda Veda Exam\0Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 19 -1 16 17 20 19 -1 16 17 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ float short int char long float short int char long ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 6 None of these 5 Garbage Value 0 6 None of these 5 Garbage Value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to -1 Complier error -10 to 0 -10 to infinite -10 to -1 Complier error -10 to 0 -10 to infinite ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[6] arr{7} arr{6} arr[7] None of these arr[6] arr{7} arr{6} arr[7] None of these ANSWER DOWNLOAD EXAMIANS APP