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
Are c and c++ the same?
Difference between linking and loading?
What is union and structure?
What is scope rule of function in c?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What are the different types of constants?
What is the purpose of type declarations?
How can a program be made to print the name of a source file where an error occurs?
What is a const pointer in c?
What is the difference between scanf and fscanf?
What does 3 mean in texting?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
Why should I prototype a function?
What is main return c?
What is a macro, and explain how do you use it?