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
Define C in your own Language.
Which is an example of a structural homology?
How do I get an accurate error status return from system on ms-dos?
Write a program in c to replace any vowel in a string with z?
What are the __date__ and __time__ preprocessor commands?
Are pointers integer?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Wt are the Buses in C Language
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What is the use of ?
What is substring in c?
What are linker error?
What is the difference between fread buffer() and fwrite buffer()?
What are the characteristics of arrays in c?
Why pointers are used in c?