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
What is a constant and types of constants in c?
What is pragma in c?
What are different types of variables in c?
What does %c do in c?
Explain how do you sort filenames in a directory?
What is c language & why it is used?
how to build a exercise findig min number of e heap with list imlemented?
What is the right type to use for boolean values in c?
What is pointer to pointer in c with example?
Why does the call char scanf work?
Where local variables are stored in c?
What is the code in while loop that returns the output of given code?
What standard functions are available to manipulate strings?
Which driver is a pure java driver
Explain why C language is procedural?