can main method be overloaded...???
How..????
Answer Posted / 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 |
Post New Answer View All Answers
Can an interface inherit a class?
Why we use classes in oop?
What is overloading in oops?
What is static modifier?
Can we create object of interface?
i got a backdoor offer in process global,Bangalore..Can i work with it?
Why do we use polymorphism?
What is class encapsulation?
What is encapsulation oop?
What makes a language oop?
How is class defined?
What polymorphism means?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
How can you overcome the diamond problem in inheritance?
to find out the minimum of two integer number of two different classes using friend function