void main()
{
static int i = 5;
if(--i)
{
main();
printf("%d
",i);
}
}
what would be output of the above program and justify your
answer?
}
Answer Posted / biren
we can't call a main function with in main.
| Is This Answer Correct ? | 7 Yes | 32 No |
Post New Answer View All Answers
What are the advantage of c language?
Why is c so popular?
Are there any problems with performing mathematical operations on different variable types?
What is the difference between test design and test case design?
What is the use of extern in c?
How can you avoid including a header more than once?
What is #define in c?
What are different types of operators?
Give basis knowledge of web designing ...
How do I read the arrow keys? What about function keys?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What does return 1 means in c?
What is a far pointer in c?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;