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 |
If I have a char * variable pointing to the name of a function ..
what are you see during placement time in the student.
0 Answers Goldman Sachs, TCS, Tech Solutions,
what is an array
find a number whether it is even or odd without using any control structures and relational operators?
22 Answers Microsoft, Shashank Private Limited,
Given a single Linked list with lakhs of nodes and length unknown how do you optimally delete the nth element from the list?
What are dynamically linked and statically linked libraries?
Write one statement equalent to the following two statements x=sqr(a); return(x); Choose from one of the alternatives a.return(sqr(a)); b.printf("sqr(a)"); c.return(a*a*a); d.printf("%d",sqr(a));
What are local static variables? How can you use them?
Write a program to find whether the given number is prime or not?
why should i select you?
What is difference between far and near pointers?
What is dynamic variable in c?