C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg defg cdefg fg bcdefg efg defg cdefg fg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 3 10 5 3 4 10 5 4 4 10 5 5 5 10 5 3 3 10 5 4 3 10 5 3 4 10 5 4 4 10 5 5 5 10 5 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? getch() system() start() main() printf() getch() system() start() main() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. I, II and III I and II II and III I, II, III and IV II, III and IV I, II and III I and II II and III I, II, III and IV II, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} Good M Good Morning None of these Morning Good M Good Morning None of these Morning ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 It will not compile because not enough initializers are given 6 7 12 24 It will not compile because not enough initializers are given 6 7 12 ANSWER DOWNLOAD EXAMIANS APP