C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi Error h hi followed by garbage value Garbage Value hi Error h hi followed by garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is illegal is legal but meaningless None of these. is syntactically and semantically correct is illegal is legal but meaningless None of these. is syntactically and semantically correct ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to -1 -10 to infinite -10 to 0 Complier error -10 to -1 -10 to infinite -10 to 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} None of these The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is correct and runs successfully. None of these The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is correct and runs successfully. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? default auto case register main default auto case register main ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 complier error -1 1 -1 -1 1 -1 1 1 complier error -1 1 -1 -1 1 -1 1 ANSWER DOWNLOAD EXAMIANS APP