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

When should structures be passed by values or by references?

0 Answers   Adobe,


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

0 Answers  


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

0 Answers  


how the compiler treats any volatile variable?Explain with example.

1 Answers   Tata Elxsi,


The C language terminator is a.semicolon b.colon c.period d.exclamation mark

6 Answers   TCS,






What ios diff. Between %e & %f?

3 Answers   Honeywell,


wats SIZE_T meant for?

1 Answers  


Why main is used in c?

0 Answers  


? ???Mirror Mirror on the wall????????

1 Answers   channel V, DPI,


what is difference between ANSI structure and C99 Structure?

1 Answers   Wipro,


Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d

1 Answers   TCS,


How is a macro different from a function?

0 Answers   Tech Mahindra,


Categories