Disadvantage of Pointers

No comments


Disadvantage :-

Decides these advantage the pointer has some disadvantage such as –

1 . We cannot assign data to the pointer directly.

2 . If pointers are updated with incorrect values, it might lead to memory corruption.

3 . Dynamically allocated block needs to be freed explicitly otherwise, it would lead to memory leak.

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀