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 );} There will be a compilation error reported. The loop will run infinitely many times. The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. There will be a compilation error reported. The loop will run infinitely many times. The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We can change the pointer as well as the value pointed by it. Both of the above We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=5 d=5 c=5 d=3 c=3 d=5 c=3 d=3 c=5 d=5 c=5 d=3 c=3 d=5 c=3 d=3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. I and III II and IV II and III III and IV I and II I and III II and IV II and III III and IV I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr[6] None of these arr[7] arr{7} arr{6} arr[6] None of these arr[7] arr{7} ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? float real char double int float real char double int ANSWER DOWNLOAD EXAMIANS APP