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 |
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!!!)
Write a program to multiply 3x3 matrics
Which keyword is written to use a variable declared in one class in the other class?
Can enum be null?
Program to check whether a word is the first word of the sentence.
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.
How can we use the preprocessor #if and #elseif.
Can private class be inherited?
What is the fundamental idea of oop?
Name a typical usage of polymorphism
what is new operator in c++
write a program that takes input in digits and display the result in words from 1 to 1000