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


Please Help Members By Posting Answers For Below Questions

i got a backdoor offer in process global,Bangalore..Can i work with it?

2791


What are the three parts of a simple empty class?

1980


Why do we use class?

1026


What is cohesion in oop?

1008


What is object in oops?

1021


Why do we use oop?

1041


What is the main purpose of inheritance law?

1147


what type of question are asked in thoughtworks pair programming round ?

2145


Why do we use oops?

960


Is react oop?

1014


What is the difference between inheritance and polymorphism?

1046


How do you use inheritance in unity?

1025


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2140


Why do we use inheritance?

1061


What is class and object with example?

1058