how does a main() in C++ is different from main() in C?
Answer Posted / jit
In C if we write a program like
int main()
{
static int i = 5;
if (--i){
printf("%d ", i);
main(10);
}
}
It works but not in C++
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is solid in oops?
What is advantage of inheritance?
What is an advantage of polymorphism?
Can an interface inherit a class?
What are the types of abstraction?
What is polymorphism and its types?
Why oops is important?
What is abstraction in oop?
What is destructor example?
Why do we use polymorphism in oops?
What are classes oop?
Is abstract thinking intelligence?
How to improve object oriented design skills?
What are the important components of cohesion?
What is for loop and its syntax?