C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? cdefg bcdefg efg defg fg cdefg bcdefg efg defg fg ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strrchr() None of these strstr() strnstr() laststr() strrchr() None of these strstr() strnstr() laststr() 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 = 6 b = 3, c = 6 a = 3, c = 8 a = 4, c = 8 b = 4, c = 6 a = 4, c = 6 b = 3, c = 6 a = 3, c = 8 a = 4, c = 8 b = 4, c = 6 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, III and IV I, II and III I and II III and IV II and III I, III and IV I, II and III I and II III and IV II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Hello None of These H Some Address will be printed Hello None of These H Some Address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} 12PP 12PP345 None of These Compiler Error 12PP 12PP345 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP