In the following declaration of main, "int main(int argc,
char *argv[])", to what does argv[0] usually correspond?
1) The first argument passed into the program
2) The program name
3) You can't define main like that
Answer Posted / mahi
my ans is 2.it prints the program name
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you answer polymorphism?
Can we have inheritance without polymorphism?
Which language is pure oop?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is use of overloading?
What is oops?what is its use in software engineering?
Why is abstraction needed?
What are the advantages of polymorphism?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is encapsulation c#?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is pointer in oop?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is polymorphism and types?
What is an advantage of polymorphism?