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 defg efg fg bcdefg cdefg defg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a declaration must occur first. There is no difference between them. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. 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. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 0 -1 Compilation Error 1 33 0 -1 Compilation Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is array of pointers to 10 integers ptr is an pointer to array ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} Compiler Error 6 5 0 7 Compiler Error 6 5 0 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 11 13 12 14 Compilation error 11 13 12 14 Compilation error ANSWER DOWNLOAD EXAMIANS APP