C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p both are not pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? continue break skip None of these resume continue break skip None of these resume ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 1, 4 2, 4 None of these 2, 3 1 1, 4 2, 4 None of these 2, 3 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} h hi followed by garbage value Garbage Value hi Error h hi followed by garbage value Garbage Value hi Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Makes the debugging task easier. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. All of these Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. All of these Helps to avoid repeating a set of statements many times. 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); }} 20 20 10 20 10 10 Run time error 20 20 10 20 10 10 Run time error ANSWER DOWNLOAD EXAMIANS APP