C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg bcdefg efg cdefg defg fg bcdefg efg cdefg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 1 2 -1 Program do no return a value. 1 2 -1 Program do no return a value. ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to data of similar type. The pointers point to elements of the same array. The pointers point to structure of similar data type. None of these. The pointers point to data of similar type. The pointers point to elements of the same array. The pointers point to structure of similar data type. None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These sizeof(i)=2 Compiler Error sizeof(i)=1 None of These sizeof(i)=2 Compiler Error sizeof(i)=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The variable must always be the letter i when using a for loop. The increment should always be ++k . The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The increment should always be ++k . The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. ANSWER DOWNLOAD EXAMIANS APP