C Programming Which of the following function is more appropriate for reading in a multi-word string? printf() puts() gets() None of these scanf() printf() puts() gets() None of these scanf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? Depends upon the type of the variable to which it is pointing. float No data type unsigned int int Depends upon the type of the variable to which it is pointing. float No data type unsigned int int ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. I, II and III I, II, III and IV I and II II, III and IV II and III I, II and III I, II, III and IV I and II II, III and IV II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 1 Error 100 1 Error 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 20 16 19 -1 17 20 16 19 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 11 14 Compilation error 13 12 11 14 Compilation error 13 12 ANSWER DOWNLOAD EXAMIANS APP