C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff4 fff0 fff2 fff3 fff1 fff4 fff0 fff2 fff3 fff1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? real float int double char real float int double char ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 20 24 None of these 25 30 20 24 None of these 25 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? AT & T's Bell Laboratories of USA in 1970 Sun Microsystems in 1973 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 Sun Microsystems in 1973 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1972 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; 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. rem = modf(3.14, 2.1); 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 5 8 5 5 2 5 5 2 4 4 2 4 5 8 5 5 2 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP