C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} None of these arr[6] arr[7] arr{7} arr{6} None of these arr[6] arr[7] arr{7} ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello garbage value Error hello 5 None of These hello garbage value Error hello 5 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program None of these Needs input data. Need not contain any function. Must contain at least one function. None of these Needs input data. Need not contain any function. Must contain at least one function. ANSWER DOWNLOAD EXAMIANS APP
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 would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 3 2 2 3 4 2 4 2 3 3 3 2 2 3 4 2 4 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 3 2 1 0 infinity loop no output 3 2 1 3 2 1 0 infinity loop no output ANSWER DOWNLOAD EXAMIANS APP