C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} 300 Error None of These %d\n 300 Error None of These %d\n 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 statement declaring array is invalid. 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 subscript for array used in for loop is in the range 1 to size. None of these The code is erroneous since the statement declaring array is invalid. 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 subscript for array used in for loop is in the range 1 to size. 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;} 1 10 None of these 0 6 1 10 None of these 0 6 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;} RED ERROR RED WHITE BLUE RED RED WHITE BLUE ERROR ERROR RED ERROR RED WHITE BLUE RED RED WHITE BLUE ERROR ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 4 10 5 4 3 10 5 3 4 10 5 3 3 10 5 5 5 10 5 4 4 10 5 4 3 10 5 3 4 10 5 3 3 10 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0 10 Syntax error 0123456789 Infinite loop 0 10 Syntax error 0123456789 Infinite loop ANSWER DOWNLOAD EXAMIANS APP