C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 8 9 5 6 7 8 9 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The commas should be semicolons. The variable must always be the letter i when using a for loop. The variable k can’t be initialized. The increment should always be ++k . There should be a semicolon at the end of the statement. The commas should be semicolons. The variable must always be the letter i when using a for loop. The variable k can’t be initialized. The increment should always be ++k . There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..1 1..0 0..1 0..0 1..1 1..0 0..1 0..0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? real float double char int real float double char int ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? default main case auto register default main case auto register 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 WHITE BLUE ERROR RED WHITE BLUE RED ERROR RED ERROR RED WHITE BLUE ERROR RED WHITE BLUE RED ERROR RED ANSWER DOWNLOAD EXAMIANS APP