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 9 7 8 5 6 9 7 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Partitioning the string into two strings. Extracting a substring out of a string. Merging two strings. Combining two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Extracting a substring out of a string. Merging two strings. Combining two strings. Comparing the two strings to define the larger one. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} Garbage Value None of these 5 6 0 Garbage Value None of these 5 6 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II, III and IV I, II and III I, II, III and IV I and II II and III II, III and IV I, II and III I, II, III and IV I and II II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 45445 45545 54554 54544 45445 45545 54554 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 2 Garbage Value 0 1 3 2 Garbage Value 0 1 ANSWER DOWNLOAD EXAMIANS APP