C Programming Use of functions Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. Makes the debugging task easier. All of these Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. Makes the debugging task easier. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} Run time error 10 20 20 20 10 10 Run time error 10 20 20 20 10 10 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 RED WHITE BLUE ERROR RED ERROR ERROR RED WHITE BLUE RED RED WHITE BLUE ERROR RED ERROR ERROR RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Division operator Conditional operator Unary-operator Comma operator Assignment operator Division operator Conditional operator Unary-operator Comma operator Assignment operator ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} None of these 1 1 2 2 1 1 2 3 0 1 2 2 0 1 2 3 None of these 1 1 2 2 1 1 2 3 0 1 2 2 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP