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 / sanish joseph
No guys the ans s 2
it prints d program name:
arguments counts only from 1 nd nt 4m 0
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
i got a backdoor offer in process global,Bangalore..Can i work with it?
What are the three parts of a simple empty class?
Why do we use class?
What is cohesion in oop?
What is object in oops?
Why do we use oop?
What is the main purpose of inheritance law?
what type of question are asked in thoughtworks pair programming round ?
Why do we use oops?
Is react oop?
What is the difference between inheritance and polymorphism?
How do you use inheritance in unity?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
Why do we use inheritance?
What is class and object with example?