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
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What is double pointer?
How will you write a code for accessing the length of an array without assigning it to another variable?
What is register variable in c language?
What is indirection in c?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
Write a program to reverse a linked list in c.
What is typeof in c?
What are disadvantages of C language.
Why c is called free form language?
Which type of language is c?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What is a pointer on a pointer in c programming language?
What is else if ladder?
What is ctrl c called?