C Programming int a[5] = {1,2,3}What is the value of a[4]? 1 2 3 Garbage Value 0 1 2 3 Garbage Value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=1 sizeof(i)=2 Compiler Error None of These sizeof(i)=1 sizeof(i)=2 Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 5 4 3 2 1 Compilation Error None of these Infinite Loop 5 5 5 5 5 5 4 3 2 1 Compilation Error None of these Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to data of similar type. The pointers point to structure of similar data type. The pointers point to elements of the same array. None of these. The pointers point to data of similar type. The pointers point to structure of similar data type. The pointers point to elements of the same array. None of these. ANSWER DOWNLOAD EXAMIANS APP
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 value pointed by ptr. We cannot change the pointer ptr itself. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values Error 1 1 1 0 0 0 garbage values Error 1 1 1 0 0 0 ANSWER DOWNLOAD EXAMIANS APP