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 |
What is the types of inheritance?
is java purely oop Language?
49 Answers HCL, Infosys, TCS,
In multilevel inheritance constructors will be executed from the .... class to ... class
c++ provides classes...and classes do what we want but why then strcut are used...if we say data hiding... it is also provided by c++ in structs then why to prefer clasess
What is difference between oop and pop?
Definition of Object Oriented Programming in single line?
33 Answers Impact Systems, Q3 Technologies, TCS,
Write a program in c++ to read two floating point numbers and find their sum and average.
What is Method overloading?
I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
create a c++ program that will ask 10 numbers and display their sum using array.
what is the difference between function template and template of function?explain with example.
what type of question are asked in thoughtworks pair programming round ?