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

Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

0 Answers   HCL,


Write a program to multiply 3x3 matrics

1 Answers  


Which keyword is written to use a variable declared in one class in the other class?

5 Answers   TCS,


Can enum be null?

0 Answers  


Program to check whether a word is the first word of the sentence.

1 Answers  


I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.

0 Answers  


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

2 Answers  


Can private class be inherited?

0 Answers  


What is the fundamental idea of oop?

0 Answers  


Name a typical usage of polymorphism

3 Answers  


what is new operator in c++

1 Answers  


write a program that takes input in digits and display the result in words from 1 to 1000

0 Answers   Wipro,


Categories