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 |
explain sub-type and sub class? atleast u have differ it into 4 points?
What is DeadlyDiamondDeathProblem ?
Which is the best institute in hyderabad for C/C++ and it also has fast track course structure.
What is debug class?what is trace class? What differences are between them? With examples.
what are the realtime excercises in C++?
In OverLoading concept,Why they are not consider return value and why they are consider only parameters in method? For ex: public int Add(int a,int b){...} public String Add(int a,int b){...}
what's the basic's in dot net
Can we have a private constructor ?
12 Answers HSBC, Ness Technologies, TCS, Wipro,
Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.
1 Answers Global Academy, Infotech,
What is the use of fflush(stdin) in c++?
Program to check whether a word starts with a capital letter or not.
Which language is pure oop?