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

what does static variable mean?

1054


Why is c called c not d or e?

1052


Why & is used in scanf in c?

1052


What does volatile do?

938


How can you increase the allowable number of simultaneously open files?

1093


How do I round numbers?

960


Can a pointer be static?

1025


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1927


Why c is called a mid level programming language?

1026


What is pragma c?

1059


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

1019


How can I avoid the abort, retry, fail messages?

1086


What is sizeof int in c?

1005


Write a function that will take in a phone number and output all possible alphabetical combinations

1001


how to execute a program using if else condition and the output should enter number and the number is odd only...

2211