C Programming Use of functions Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. All of these Makes the debugging task easier. Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. All of these Makes the debugging task easier. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} None of these void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} None of these void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Local scope File scope Function scope No scope at all Block scope Local scope File scope Function scope No scope at all Block scope 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++);} 6 Compiler Error 5 7 0 6 Compiler Error 5 7 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 100 1 Error 100 1 Error 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);} will print garbage value None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World ANSWER DOWNLOAD EXAMIANS APP