what is disadvantage of pointer in C

Answer Posted / ravi joshi

Pointers is a wonderful concept if used carefully and in a
fully understood manner. Only drawback with pointers is
using multiple levels of dereferencing which leads to
confusion and most of the time data corruption and program
crash. Most dangerous thing with pointers I have experienced
is typecasting !!!

Is This Answer Correct ?    36 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you subtract pointers from each other? Why would you?

558


What is the deal on sprintf_s return value?

645


What is the use of function in c?

715


What is unary operator?

660


Define the scope of static variables.

606






When can a far pointer be used?

588


Can we add pointers together?

620


What is the difference between declaring a variable and defining a variable?

724


What are the standard predefined macros?

634


What is the difference between %d and %i?

596


What is adt in c programming?

611


Why do we use int main instead of void main in c?

623


What is scope of variable in c?

571


What are the types of variables in c?

582


What are local variables c?

551