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
What is #define size in c?
What is abstract data structure in c?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
What is the difference between malloc calloc and realloc in c?
praagnovation
Why is c faster?
How are structure passing and returning implemented?
Dont ansi function prototypes render lint obsolete?
How can I remove the trailing spaces from a string?
What is wrong with this initialization?
Where does the name "C" come from, anyway?
What is static memory allocation? Explain
Write a program to swap two numbers without using third variable in c?
Is c still used?
how to create duplicate link list using C???