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 |
void main() { int i=5; printf("%d",i+++++i); }
c program to print a name without using semicolon
write a program that finds the factorial of a number using recursion?
Can we use any name in place of argv and argc as command line arguments?
Write a program to print numbers from 1 to 100 without using loop in c?
a program that can input number of records and can view it again the record
What is a macro in c preprocessor?
write a program in c to find out the sum of digits of a number.but here is a condition that compiler sums the value from left to right....not right to left..
Why is it usually a bad idea to use gets()? Suggest a workaround.
How can we see the Expanded source code and compiled code for our source program in C?
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }
macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration
12 Answers HCL, Infosys, Microsoft,