can main method be overloaded...???
How..????
Answers were Sorted based on User's Feedback
Answer / ravindranath m
you can overload the main method, but only one version
should exist.
1. int main(void) { ... }
2. int main (int argc, char** argv) { ... }
| Is This Answer Correct ? | 22 Yes | 12 No |
Ravindranath,
You have forgot another one
1. int main(void) { ... }
2. int main (int argc, char** argv) { ... }
3. void main(int argc, char ** argv, char** environment)
| Is This Answer Correct ? | 5 Yes | 1 No |
What is sub classing in c++?
how to tackle technical questions
What is the main purpose of inheritance law?
What do you mean by inheritance?
What are the 5 oop principles?
what is the difference between <stdio.h>and "stdio.h"?
What is the importance of oop?
Which is not an object oriented programming language?
What is a mixin class?
What is the difference between an object and a class?
why function overloading is not called as pure polymorphism?
What causes polymorphism?