C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 10 11 12 13 14 15 None of these Infinite loop 10 11 12 13 14 9 10 11 12 13 10 11 12 13 14 15 None of these Infinite loop 10 11 12 13 14 9 10 11 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 2 4 5 2 5 5 8 5 5 2 4 4 2 4 5 2 5 5 8 5 5 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 = modf(3.14, 2.1); rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A number Both of the above A special symbol other than underscore An alphabet A number Both of the above A special symbol other than underscore An alphabet ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} None of These i = -1, +i = 1 i = -1, +i = -1 i = 1, +i = 1 None of These i = -1, +i = 1 i = -1, +i = -1 i = 1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop 3 2 1 0 3 2 1 no output infinity loop 3 2 1 0 3 2 1 no output ANSWER DOWNLOAD EXAMIANS APP