What is alloca() and why is its use discouraged?
Answer / guest
alloca() allocates memory which is automatically freed when
the function which called alloca() returns. alloca() cannot
be written portably, is difficult to implement on machines
without a stack, and fails under certain conditions if
implemented simply.
| Is This Answer Correct ? | 5 Yes | 0 No |
What's the difference between constant char *p and char * constant p?
Can a function argument have default value?
What is a pointer and how it is initialized?
Describe wild pointers in c?
what is real time system?what is the differance between hard and soft real time systems
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
what is the difference between %d and %*d in c languaga?
What is a lvalue
Why is c so important?
How do you access command-line arguments?
write a program to read a number and print in words that is in sentence for example 21,219 then output is "twenty one thousand and two hundred nineteen" by using only control flow statements (only loops and switch case )?
What is a null string in c?