C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg bcdefg defg cdefg efg fg bcdefg defg cdefg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 5 Error 9 6 None of these 5 Error 9 6 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 15 None of these 50 30 10 15 None of these 50 30 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 20 20 10 10 Run time error 10 20 20 20 10 10 Run time error 10 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h None of these During Editing During linking During Preprocessing During Execution None of these During Editing During linking During Preprocessing During Execution ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Both of the above Members of a structure Local variables R-values Arithmetic expressions Both of the above Members of a structure Local variables R-values Arithmetic expressions ANSWER DOWNLOAD EXAMIANS APP