what is disadvantage of pointer in C

Answer Posted / ravi kira

one of the main disadvantage is we can access data out of
limits and another one is if any mistake done in freeing the
memory using pointers the entire system will crash

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2578


Can we replace the struct function in tree syntax with a union?

782


Explain a pre-processor and its advantages.

633


Why is c called "mother" language?

857


Explain what is output redirection?

668






What are bitwise shift operators in c programming?

648


What does != Mean in c?

592


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

615


the question is that what you have been doing all these periods (one year gap)

1621


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

1593


What is the function of this pointer?

674


What is the use of c language in real life?

530


Explain what is the difference between #include and #include 'file' ?

585


What is the size of array float a(10)?

657


Can you pass an entire structure to functions?

696