C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65487 65486, 65486 65486, 65490 None of these 65486, 65488 65486, 65487 65486, 65486 65486, 65490 None of these 65486, 65488 ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Preprocessing During Editing During linking During Execution None of these During Preprocessing During Editing During linking During Execution None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} Compiler Error None of These GOOD GOOD BAD Compiler Error None of These GOOD GOOD BAD ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. 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 correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is erroneous since the statement declaring array is invalid. None of these The code is correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is erroneous since the statement declaring array is invalid. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Segmentation fault/runtime crash Compiler time error 10 Undefined behavior Segmentation fault/runtime crash Compiler time error 10 Undefined behavior ANSWER DOWNLOAD EXAMIANS APP