C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg cdefg bcdefg fg defg efg cdefg bcdefg fg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These Some address will be printed Error make an infinite loop None of These Some address will be printed Error make an infinite loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} Compiler Error 50 10 None of These Compiler Error 50 10 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 None of These Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of include files Takes care of conditional compilation All of these Acts before compilation Takes care of macros Takes care of include files Takes care of conditional compilation All of these Acts before compilation Takes care of macros ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[7] None of these arr{6} arr{7} arr[6] arr[7] None of these arr{6} arr{7} arr[6] ANSWER DOWNLOAD EXAMIANS APP