C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} None of these 6 7 4 5 None of these 6 7 4 5 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. None of these 2, 3 1, 4 1 2, 4 None of these 2, 3 1, 4 1 2, 4 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? -10 -110 450 110 10 -10 -110 450 110 10 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 10 1 None of These Garbage Value 10 1 ANSWER DOWNLOAD EXAMIANS APP
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);} Compilation Error will print garbage value None of these. will print Hello World Compilation Error will print garbage value None of these. will print Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions All of these Enhances the logical clarity of the program. Makes the debugging task easier. Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. All of these Enhances the logical clarity of the program. Makes the debugging task easier. Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. ANSWER DOWNLOAD EXAMIANS APP