C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? None of these arr[6] arr{7} arr{6} arr[7] None of these arr[6] arr{7} arr{6} arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as None of these Data processing language System programming language General purpose language None of these Data processing language System programming language General purpose language ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 5 4 Error 6 5 4 Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value h hi Error hi followed by garbage value Garbage Value h hi Error hi followed by garbage value 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, II, III and IV II, III and IV I and II I, II and III II and III I, II, III and IV II, III and IV I and II I, II and III II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 10 10, 10 11, 11 10, 11 11, 10 10, 10 11, 11 10, 11 ANSWER DOWNLOAD EXAMIANS APP