C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg efg defg cdefg fg bcdefg efg defg cdefg fg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Undefined behavior 10 Compiler time error Segmentation fault/runtime crash Undefined behavior 10 Compiler time error Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? main register auto default case main register auto default case ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..0 1..1 0..1 0..0 1..0 1..1 0..1 0..0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I, II and III I and II II and III III and IV I, III and IV I, II and III I and II II and III III and IV I, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} hi friends ij!gsjfoet None of These hj grjeodt hi friends ij!gsjfoet None of These hj grjeodt ANSWER DOWNLOAD EXAMIANS APP