C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to 0 -10 to infinite -10 to -1 Complier error -10 to 0 -10 to infinite -10 to -1 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 2 2 2 2 1 1 1 1 2 2 2 2 1 1 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 4 2 5 5 8 5 5 2 4 5 2 4 4 2 5 5 8 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H Hello Some address will be printed None of these. H Hello Some address will be printed None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 8 b = 3, c = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 6 a = 4, c = 8 b = 3, c = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 6 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); } Linking error Compiler Error None of these 3 hello Linking error Compiler Error None of these 3 hello ANSWER DOWNLOAD EXAMIANS APP