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); 8 6 7 9 5 8 6 7 9 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? -110 450 -10 110 10 -110 450 -10 110 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strrchr() strnstr() strstr() None of these laststr() strrchr() strnstr() strstr() None of these laststr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 2 2, 0 4, 4 2, 4 0, 2 2, 2 2, 0 4, 4 2, 4 0, 2 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);} 30 25 None of these 24 20 30 25 None of these 24 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? defg cdefg efg fg bcdefg defg cdefg efg fg bcdefg ANSWER DOWNLOAD EXAMIANS APP