C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 3 3 10 5 5 5 10 5 4 3 10 5 4 4 10 5 3 4 10 5 3 3 10 5 5 5 10 5 4 3 10 5 4 4 10 5 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 0 6 Compiler Error 5 7 0 6 Compiler Error 5 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming When a function is recursively called all the automatic variables are stored in a .......... Register Stack Queue Linked list Array Register Stack Queue Linked list Array 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. 2, 4 None of these 1, 4 2, 3 1 2, 4 None of these 1, 4 2, 3 1 ANSWER DOWNLOAD EXAMIANS APP
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 7 6 9 8 5 7 6 9 8 ANSWER DOWNLOAD EXAMIANS APP