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 / zubeir

the answer is 1st choice.

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is variable example?

590


What is interface in oop?

652


Prepare me a program for the animation of train

1981


what is the sylabus for priliminaries?

1674


Describe these concepts: Polymorphism, Inheritance and Abstraction.

604






write a program to find 2^n+1 ?

1540


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1932


What is ambiguity in inheritance?

617


What is difference between multiple inheritance and multilevel inheritance?

593


What is encapsulation oop?

566


What is the difference between a mixin and inheritance?

511


can inline function declare in private part of class?

3649


Get me a number puzzle game-program

1685


What is the main purpose of inheritance law?

662


What are the data types in oop?

596