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 / sumeet sharma
argv[o] the array of strings will point to the name of the
program.
argv[1] will point to the first argument and so on.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
hi all..i want to know oops concepts clearly can any1 explain??
What is encapsulation example?
What is abstract class in oop?
What is the purpose of enum?
What is encapsulation in ict?
What are different oops concepts?
Which is not an object oriented programming language?
Can you inherit a private class?
What is constructor overloading in oop?
What are benefits of oop?
Write a program to reverse a string using recursive function?
What exactly is polymorphism?
What is balance factor?
Which method cannot be overridden?
What is abstraction in oop?