What is the output of below code?
main() { static int a=5; printf("%3d",a--); if(a) main(); }
Answer Posted / vikas
output is 5 4 3 2 1
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Explain what does the function toupper() do?
What is the difference between Printf(..) and sprint(...) ?
Under what circumstances does a name clash occur?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What is file in c language?
What is oops c?
What is dynamic memory allocation?
What is pointer to pointer in c with example?
Why functions are used in c?
What is typedef example?
What is a scope resolution operator in c?
Explain the Difference between the New and Malloc keyword.
What does void main return?
What is the size of enum in bytes?
What the different types of arrays in c?