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); 5 6 8 9 7 5 6 8 9 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strstr() laststr() strrchr() None of these strnstr() strstr() laststr() strrchr() None of these strnstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? _examians examians1 exam_veda 1examians _examians examians1 exam_veda 1examians 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? 6 24 It will not compile because not enough initializers are given 12 7 6 24 It will not compile because not enough initializers are given 12 7 ANSWER DOWNLOAD EXAMIANS APP
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 et te ow ck et te ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = 1, +i = 1 i = -1, +i = -1 None of These i = -1, +i = 1 i = 1, +i = 1 i = -1, +i = -1 None of These i = -1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP