C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H Some address will be printed Hello None of these. H Some address will be printed Hello None of these. 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); Remainder cannot be obtain in floating point division. rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} None of these World Hello Hello World WorldHello None of these World Hello Hello World WorldHello ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } Compiler Error 3 hello Linking error None of these Compiler Error 3 hello Linking error None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 1 1 2 3 1 1 2 2 0 1 2 2 None of these 0 1 2 3 1 1 2 3 1 1 2 2 0 1 2 2 None of these 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These Error Some address will be printed make an infinite loop None of These Error Some address will be printed make an infinite loop ANSWER DOWNLOAD EXAMIANS APP