C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 12 7 6 6 11 6 5 6 6 7 12 7 6 6 11 6 5 6 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 0 100 5 0 100 5 0 20 100 5 100 100 100 100 100 0 100 5 0 100 5 0 20 100 5 100 100 100 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} ERROR RED RED ERROR RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED RED ERROR RED WHITE BLUE ERROR RED WHITE BLUE 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]); }} The code is erroneous since the values of array are getting scanned through the loop. The code is correct and runs successfully. 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. None of these The code is erroneous since the values of array are getting scanned through the loop. The code is correct and runs successfully. 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. None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming When a function is recursively called all the automatic variables are stored in a .......... Register Linked list Stack Queue Array Register Linked list Stack Queue Array ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} None of these 6 1 0 10 None of these 6 1 0 10 ANSWER DOWNLOAD EXAMIANS APP