C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? None of these arr{6} arr[7] arr[6] arr{7} None of these arr{6} arr[7] arr[6] arr{7} ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? No data type unsigned int Depends upon the type of the variable to which it is pointing. int float No data type unsigned int Depends upon the type of the variable to which it is pointing. int float ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 3 a[1] = 2 a[0] = 2 Compilation error a[0] = 3 a[1] = 3 a[1] = 2 a[0] = 2 Compilation error a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 64 16 None of These 4 64 16 None of These 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable It should be both declared and initialized. It should be initialized. None of these. It should be declared. It should be both declared and initialized. It should be initialized. None of these. It should be declared. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 i=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP