C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[6] arr[7] arr{7} None of these arr{6} arr[6] arr[7] arr{7} None of these arr{6} ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} Error 100 0 1 Error 100 0 1 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);} No output at all. C NOITANIMAXE Syntax error NOITANIMAXE C No output at all. C NOITANIMAXE Syntax error NOITANIMAXE C ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 11, 11 11, 10 10, 11 10, 10 11, 11 11, 10 10, 11 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);} 2 4 2 2 3 3 3 4 2 3 2 4 2 2 3 3 3 4 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? getch() system() main() start() printf() getch() system() main() start() printf() ANSWER DOWNLOAD EXAMIANS APP