C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ow ck te et ow ck te et 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 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. There is no difference between them. Both can occur multiple times, but a declaration must occur first. 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. There is no difference between them. Both can occur multiple times, but a declaration must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = 3.14 % 2.1; ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi h hi followed by garbage value Error Garbage Value hi h hi followed by garbage value Error Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 4 4, 4 2, 0 2, 2 0, 2 2, 4 4, 4 2, 0 2, 2 0, 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 10 11 12 13 14 Infinite loop 10 11 12 13 14 15 9 10 11 12 13 None of these 10 11 12 13 14 Infinite loop 10 11 12 13 14 15 9 10 11 12 13 None of these ANSWER DOWNLOAD EXAMIANS APP