C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage value 0 Garbage vlaue Garbage Value Code will not compile 0 Garbage Value 0 0 Garbage value 0 Garbage vlaue Garbage Value Code will not compile 0 Garbage Value 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 20 17 16 -1 19 20 17 16 -1 19 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to 0 -10 to -1 Complier error -10 to infinite -10 to 0 -10 to -1 Complier error -10 to infinite ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 33 Compilation Error -1 1 0 33 Compilation Error -1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: *float ptr; float *ptr; None of these float ptr; *float ptr; float *ptr; None of these float ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } None of these. H Some address will be printed Hello None of these. H Some address will be printed Hello ANSWER DOWNLOAD EXAMIANS APP