what is disadvantage of pointer in C
Answer Posted / abdul rahman
One of the disadvantage is while we are deallocating the
memory by using the free function, by mistake if we use a
pointer for which we do not allocate memory, may lead to
complete system down. This is because that unknown pointer
may point to the memory in which system files are stored.
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Explain the red-black trees?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Explain the use of #pragma exit?
Explain how do you convert strings to numbers in c?
How to implement a packet in C
What are types of structure?
What do you mean by keywords in c?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What is c++ used for today?
what is reason of your company position's in india no. 1.
Is c procedural or functional?
Explain what is the difference between functions abs() and fabs()?
Explain what is the difference between a string and an array?
Write a simple code fragment that will check if a number is positive or negative.
Write a program to check prime number in c programming?