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
how to find anagram without using string functions using only loops in c programming
What is pass by value in c?
What Is The Difference Between Null And Void Pointer?
what is a function method?give example?
Can a variable be both static and volatile in c?
define string ?
Is it possible to initialize a variable at the time it was declared?
what type of questions arrive in interview over c programming?
How many main () function we can have in a project?
What are register variables? What are the advantage of using register variables?
if p is a string contained in a string?
When a c file is executed there are many files that are automatically opened what are they files?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
Why is event driven programming or procedural programming, better within specific scenario?