Is main() is used in the program,,see below example?
void main()
{
int i;
for(i=0;i<10;i++)
main();
}
Then what is the output of the program?
Answer Posted / kalyan chukka
Loop will Repeated 10 times .in this program main function
is called it self 10 times.So the loop will repeated 10 times
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What is the value of uninitialized variable in c?
What will the preprocessor do for a program?
How do you determine a file’s attributes?
What are the different data types in C?
Explain how does flowchart help in writing a program?
Write a program with dynamically allocation of variable.
What is the difference between single charater constant and string constant?
What is a global variable in c?
What is the main difference between calloc () and malloc ()?
How arrays can be passed to a user defined function
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 ?
Which one would you prefer - a macro or a function?
What is #include cctype?
What is spark map function?