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 no output infinity loop 3 2 1 3 2 1 0 no output infinity loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(2, x) pow(x, 2) pow(2, x) power(x, 2) sqr(x) power(2, x) pow(x, 2) pow(2, x) power(x, 2) sqr(x) 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 Hello World Compilation Error None of these. will print garbage value will print Hello World Compilation Error None of these. will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program None of these Need not contain any function. Needs input data. Must contain at least one function. None of these Need not contain any function. Needs input data. Must contain at least one function. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? Program do no return a value. 1 -1 2 Program do no return a value. 1 -1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These make an infinite loop Error Some address will be printed None of These make an infinite loop Error Some address will be printed ANSWER DOWNLOAD EXAMIANS APP