C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg bcdefg cdefg efg defg fg bcdefg cdefg efg defg 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));} sizeof(i)=1 sizeof(i)=2 None of These Compiler Error sizeof(i)=1 sizeof(i)=2 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 6 8 9 5 7 6 8 9 5 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command need not start on the first column comes before the first executable statement need not start on a new line has # as the first character need not start on the first column comes before the first executable statement need not start on a new line has # as the first character ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. There is no difference between them. Both can occur multiple times, but a definition must occur first. A definition occurs once, but a declaration may occur many times. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. There is no difference between them. Both can occur multiple times, but a definition must occur first. A definition occurs once, but a declaration may occur many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor All of these Takes care of macros Takes care of conditional compilation Takes care of include files Acts before compilation All of these Takes care of macros Takes care of conditional compilation Takes care of include files Acts before compilation ANSWER DOWNLOAD EXAMIANS APP