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 |
difference between overloading and overridding
What is deep and shalow copy?
What is oops and its features?
What is a linked list?
diff between Virtual mathod and abstract method?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
Difference between over loading and over ridding?
12 Answers CTS, Patni, Softvision Solution,
How do you use inheritance in unity?
when my application exe is running nad i don't want to create another exe what should i do
Write an operator overloading program to write S3+=S2.
Can java compiler skips any statement during compilation time?
What is polymorphism give a real life example?