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

State two uses of pointers in C?

1071


Write a program in c to replace any vowel in a string with z?

1137


What is formal argument?

1146


What do you mean by keywords in c?

1156


Are the outer parentheses in return statements really optional?

1125


Explain bitwise shift operators?

1257


Place the #include statement must be written in the program?

1048


What is the difference between the = symbol and == symbol?

1130


Why does not c have an exponentiation operator?

1062


code for replace tabs with equivalent number of blanks

2170


I need previous papers of CSC.......plz help out by posting them.......

2299


write a program to find the given number is prime or not

4779


What is identifiers in c with examples?

1189


Why do we use pointer to pointer in c?

1091


Explain how do you determine whether to use a stream function or a low-level function?

1099