Whether there can be main inside another main?If so how does
it work?
Answer Posted / namita
main()
{
main();
}
This code snippet will result in infinite loop.
| Is This Answer Correct ? | 43 Yes | 15 No |
Post New Answer View All Answers
What is methods in c?
How would you rename a function in C?
What is the code in while loop that returns the output of given code?
Are pointers really faster than arrays?
in linking some of os executables are linking name some of them
what are # pragma staments?
Why flag is used in c?
What is structure pointer in c?
What is the difference between declaring a variable and defining a variable?
What is meant by inheritance?
Does c have class?
What are linker error?
What is the difference between volatile and const volatile?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
I came across some code that puts a (void) cast before each call to printf. Why?