C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? defg efg fg cdefg bcdefg defg efg fg cdefg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Partitioning the string into two strings. Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Partitioning the string into two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} Error None of These make an infinite loop Some address will be printed Error None of These make an infinite loop Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} None of These zero Error three None of These zero Error three 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 III and IV I, II and III I and II II and III I, III and IV III and IV I, II and III I and II II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=EDA y=VEDA y=EXAMIANS y=MVEDA y=AMVEDA y=EDA y=VEDA y=EXAMIANS y=MVEDA y=AMVEDA ANSWER DOWNLOAD EXAMIANS APP