C Programming Comment on the following?const int *ptr; We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. Both of the above We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. Both of the above We cannot change the value pointed by ptr. ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means The same as int *p[ p is one dimensional array of size 5, of pointers to integers. None of these. p is a pointer to a 5 elements integer array. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. None of these. p is a pointer to a 5 elements integer array. 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);} 65474, 65488 65480, 65496 None of these 65474, 65476 65480, 65488 65474, 65488 65480, 65496 None of these 65474, 65476 65480, 65488 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} None of These Error zero three None of These Error zero three 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 4 16 None of These 64 4 16 None of These 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 3 2 4 3 3 2 2 3 4 2 3 2 4 ANSWER DOWNLOAD EXAMIANS APP