How to set a variable in the environment list?



How to set a variable in the environment list?..

Answer / d g patel

environment variables can be get and set by getenv() and
putenv() calls in C.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More C Interview Questions

#include<std.h> int main() { char *str[]={"Frogs","Do","Not","Die","They","Croak!"}; printf("%d %d\n",sizeof(str),strlen(str)); ...return 0; } what will the output of the above program?

6 Answers  


Differentiate b/w Modify and Update commands giving example.

1 Answers  


Write a c program to build a heap method using Pointer to function and pointer to structure ?

0 Answers   MAHINDRA, Protech, Sivan Tech,


How Many Header Files in c?

2 Answers   TCS,


what does static variable mean?

0 Answers   TCS,






what is the use of fflush() function?

2 Answers  


what are two categories of clint-server application development ?

1 Answers  


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1 Answers  


what is software?

7 Answers   Wipro,


CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION.

15 Answers  


Explain how can I convert a number to a string?

0 Answers  


What is the difference between near, far and huge pointers?

0 Answers  


Categories