C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..2 2..2 2..4 4..4 4..2 2..2 2..4 4..4 ANSWER DOWNLOAD EXAMIANS APP
C Programming "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%!"); ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 1 1 1 2 2 2 2 1 1 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() laststr() strstr() None of these strrchr() strnstr() laststr() strstr() None of these strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 24 25 20 None of these 30 24 25 20 None of these 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{6} = { 2, 4, 12 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP