C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0123456789 Infinite loop 0 10 Syntax error 0123456789 Infinite loop 0 10 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 4 5 6 7 8 9 10 None of these 4 5 6 7 8 9 1 2 3 10 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 10 None of these 4 5 6 7 8 9 1 2 3 10 1 2 3 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strrchr() None of these strstr() strnset() strchr() strrchr() None of these strstr() strnset() strchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of conditional compilation All of these Acts before compilation Takes care of macros Takes care of include files Takes care of conditional compilation All of these Acts before compilation Takes care of macros Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 None of These Compiler Error 50 10 None of These Compiler Error 50 ANSWER DOWNLOAD EXAMIANS APP