C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? cdefg defg efg fg bcdefg cdefg defg efg fg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 20 30 25 24 None of these 20 30 25 24 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming When a function is recursively called all the automatic variables are stored in a .......... Array Stack Register Linked list Queue Array Stack Register Linked list Queue ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Partitioning the string into two strings. Merging two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Combining two strings. Partitioning the string into two strings. Merging two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the value pointed by ptr. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} Prints the value of 0 one time only. The loop will run infinitely many times. There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP