C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 6 None of these 5 Error 9 6 None of these 5 Error 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 1, 4 2, 3 None of these 2, 4 1 1, 4 2, 3 None of these 2, 4 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Extracting a substring out of a string. Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Extracting a substring out of a string. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} None of These Garbage Value 1 10 None of These Garbage Value 1 10 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. 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 II, III and IV I, II and III I, II, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[6] arr{6} arr{7} None of these arr[7] arr[6] arr{6} arr{7} None of these arr[7] ANSWER DOWNLOAD EXAMIANS APP