C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 0 Garbage Value 2 1 3 0 Garbage Value 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; 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. We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Some address will be printed None of these. Hello H Some address will be printed None of these. Hello H ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 13, 10, 24, 50 50, 13, 24, 13 13, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 13, 10, 24, 50 50, 13, 24, 13 13, 13, 24, 13 50, 13, 24, 50 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 14 Compilation error 13 12 11 14 Compilation error 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 5 Compiler Error Garbage Value 6 5 Compiler Error Garbage Value ANSWER DOWNLOAD EXAMIANS APP