C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[7] arr{7} arr{6} None of these arr[6] arr[7] arr{7} arr{6} None of these arr[6] ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} 65480, 65488 65480, 65496 65474, 65488 65474, 65476 None of these 65480, 65488 65480, 65496 65474, 65488 65474, 65476 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error None of These 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right II and III II and IV I and II III and IV I and III II and III II and IV I and II III and IV I and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strrchr() strchr() strstr() None of these strnset() strrchr() strchr() strstr() None of these strnset() ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 216 – 1 None of these 215 215 – 1 216 216 – 1 None of these 215 215 – 1 ANSWER DOWNLOAD EXAMIANS APP