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

Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.

4 Answers   Persistent, Subex,


How can you dynamically allocate memory in C?

2 Answers  


What are the different types of constants?

0 Answers  


how is the examination pattern?

0 Answers   Wipro,


Is a house a mass structure?

0 Answers  


#include<stdio.h> void main() { int a,b,c; a=b=c=1; c=++a || ++b && ++c; printf("%d\t%d\t%d",a,b,c); }

3 Answers  


What are nested functions in c?

0 Answers  


What is the value of c?

0 Answers  


why Language C is plateform dependent

3 Answers   Siemens, Wipro,


who is first prime minister in india??

8 Answers   Wipro,


What is the value of h?

0 Answers  


1. Can we use the for loop this way? for(;i>5;) 2. What is the use of pointers? 3. what is array of pointer? 4. What is the difference between file and database? 5. Define data structure?

1 Answers  


Categories