C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg fg defg cdefg efg bcdefg fg defg cdefg efg 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 0 1 2 3 None of these 0 1 2 2 1 1 2 2 1 1 2 3 0 1 2 3 None of these 0 1 2 2 1 1 2 2 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 Size of the array need not be specified, when It is a formal parameter It is a declaratrion Initialization is a part of definition All of these It is a formal parameter It is a declaratrion Initialization is a part of definition All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff3 fff4 fff2 fff0 fff1 fff3 fff4 fff2 fff0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? * % + None of these / * % + None of these / ANSWER DOWNLOAD EXAMIANS APP