C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 3 2 1 0 infinity loop no output 3 2 1 3 2 1 0 infinity loop no output 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);} None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 6 None of These 5 7 6 None of These 5 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 6 6 12 7 5 6 11 6 6 7 6 6 12 7 5 6 11 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 11 None of these. 10 9 11 None of these. 10 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP