Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Is data hiding and abstraction same?

0 Answers  


what is the main difference between sizeof() operator in c and c++

3 Answers  


What does the keyword "static" mean?

4 Answers   TCS,


should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks

2 Answers  


Why do we use encapsulation in oops?

0 Answers  


What is basic concept of oop?

0 Answers  


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

0 Answers   TCS,


How can we use the preprocessor #if and #elseif.

2 Answers  


The expansion of GNU

3 Answers  


What is encapsulation in simple terms?

0 Answers  


string is a class or data type in java?

3 Answers  


How do you explain polymorphism?

0 Answers  


Categories