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 the difference between virtual function and destoctor?
Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?
program for insertion ,deletion,sorting in double link list
i^=j; j^=i; i^=j; value of i,j
pointers are support in C#? if yes then how to use it?
8 Answers Softvision Solution,
What does enum stand for?
how to write a java program for an output ****0 ***01 **012 *0123 01234
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }
what is a class
Why is oop better than procedural?
What is data binding?
Why is static class not inherited?