Can anyone tell what is stack overflow? what precaution we
should take?
Answer / vishnu nayak
Memory is divided into the following catageory
Stack Area
Heap Area
Data Area
Code Area
All Local Variables, formal parameters, return address of a
function are stored at stack area.
Stack Over flow mainly occurs in Recurssion. For each call
of the function a seperate set of Local variables, Formal
parameters and return address are stored at stack area.
| Is This Answer Correct ? | 0 Yes | 3 No |
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
What does c in a circle mean?
52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?
Do you have any idea how to compare array with pointer in c?
how to make program without <> in library.
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
Ow can I insert or delete a line (or record) in the middle of a file?
How do you declare a variable that will hold string values?
What is the use of printf() and scanf() functions?
52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?
25 Answers Datamatics, Solartis, TCS, ThinkBox, Trine,
write a function for strtok()??