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

void main(int argc,char *argv[],char *env[])
{
int i;
for(i=1;i<argc;i++)
printf("%s",env[i]);
}

Answer Posted / siddique

void main(int argc, char *argv[], char *env[])
{
int i=0;
while(env[i])
{
printf("%s\n", env[i]);
i++;
}
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we declare a function inside a function in c?

1040


What is the use of a ‘’ character?

1091


Explain what is wrong with this program statement?

1120


What is the difference between printf and scanf in c?

1354


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1401


Is array name a pointer?

1030


Why is c called "mother" language?

1289


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2408


What is meant by keywords in c?

1070


formula to convert 2500mmh2o into m3/hr

997


What does == mean in texting?

1297


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

1065


What is the difference between arrays and pointers?

1128


Can static variables be declared in a header file?

1062


Can we change the value of static variable in c?

1031