C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi Error h Garbage Value hi followed by garbage value hi Error h Garbage Value hi followed by garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 2 -1 1 Program do no return a value. 2 -1 1 Program do no return a value. 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 Execution None of these During Preprocessing During Editing During linking During Execution None of these During Preprocessing During Editing ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..2 4..4 2..4 2..2 4..2 4..4 2..4 2..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These Error 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value None of These Error 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[7] arr{6} arr[6] None of these arr{7} arr[7] arr{6} arr[6] None of these arr{7} ANSWER DOWNLOAD EXAMIANS APP