C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 0 2 1 Garbage Value 3 0 2 1 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 12 11 Compilation error 13 14 12 11 Compilation error 13 14 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[0] = 2 Compilation error a[0] = 3 a[1] = 3 a[1] = 2 a[0] = 2 Compilation error a[0] = 3 a[1] = 3 a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Both of the above Members of a structure Local variables Arithmetic expressions R-values Both of the above Members of a structure Local variables Arithmetic expressions R-values 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 2 3 3 4 3 3 2 4 2 2 2 3 3 4 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if 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. The pointers point to data of similar type. ANSWER DOWNLOAD EXAMIANS APP