can main method be overloaded...???
How..????

Answers were Sorted based on User's Feedback



can main method be overloaded...??? How..???? ..

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

can main method be overloaded...??? How..???? ..

Answer / kishore kumar naik p

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

Post New Answer

More OOPS Interview Questions

what is the difference between virtual function and destoctor?

1 Answers  


Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?

3 Answers  


program for insertion ,deletion,sorting in double link list

0 Answers  


i^=j; j^=i; i^=j; value of i,j

1 Answers  


pointers are support in C#? if yes then how to use it?

8 Answers   Softvision Solution,






What does enum stand for?

0 Answers  


how to write a java program for an output ****0 ***01 **012 *0123 01234

1 Answers  


#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; }

1 Answers  


what is a class

6 Answers  


Why is oop better than procedural?

0 Answers  


What is data binding?

4 Answers   Ittiam Systems,


Why is static class not inherited?

0 Answers  


Categories