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
State two uses of pointers in C?
Write a program in c to replace any vowel in a string with z?
What is formal argument?
What do you mean by keywords in c?
Are the outer parentheses in return statements really optional?
Explain bitwise shift operators?
Place the #include statement must be written in the program?
What is the difference between the = symbol and == symbol?
Why does not c have an exponentiation operator?
code for replace tabs with equivalent number of blanks
I need previous papers of CSC.......plz help out by posting them.......
write a program to find the given number is prime or not
What is identifiers in c with examples?
Why do we use pointer to pointer in c?
Explain how do you determine whether to use a stream function or a low-level function?