C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 Garbage value Error 6 3 Garbage value Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Hello H None of these. Some address will be printed Hello H None of these. Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 2 Garbage Value 1 3 0 2 Garbage Value 1 3 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During linking During Preprocessing During Execution None of these During Editing During linking During Preprocessing During Execution None of these During Editing ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 20 10 10 20 20 Run time error 10 20 10 10 20 20 Run time error 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 Compilation Error 1 -1 33 0 Compilation Error 1 -1 33 ANSWER DOWNLOAD EXAMIANS APP