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 does static variable mean?
Why is c called c not d or e?
Why & is used in scanf in c?
What does volatile do?
How can you increase the allowable number of simultaneously open files?
How do I round numbers?
Can a pointer be static?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Why c is called a mid level programming language?
What is pragma c?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
How can I avoid the abort, retry, fail messages?
What is sizeof int in c?
Write a function that will take in a phone number and output all possible alphabetical combinations
how to execute a program using if else condition and the output should enter number and the number is odd only...