C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg cdefg efg fg defg bcdefg cdefg efg fg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 4 5 6 7 8 9 1 2 3 10 None of these 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 10 4 5 6 7 8 9 1 2 3 10 None of these 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr is pointer to integer, p may or may not be. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Division operator Unary-operator Assignment operator Comma operator Conditional operator Division operator Unary-operator Assignment operator Comma operator Conditional operator ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is None of these 216 – 1 216 215 215 – 1 None of these 216 – 1 216 215 215 – 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. III and IV II and IV I and II I and III II and III III and IV II and IV I and II I and III II and III ANSWER DOWNLOAD EXAMIANS APP