Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you answer polymorphism?

1110


Can we have inheritance without polymorphism?

1077


Which language is pure oop?

1071


explain sub-type and sub class? atleast u have differ it into 4 points?

2363


What is use of overloading?

1188


What is oops?what is its use in software engineering?

1089


Why is abstraction needed?

1095


What are the advantages of polymorphism?

1084


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

3273


What is encapsulation c#?

1127


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2682


What is pointer in oop?

1125


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6731


What is polymorphism and types?

1161


What is an advantage of polymorphism?

1136