What are wild pointers in C and How can we avoid?
What are wild pointers in C? Uninitialized pointers are known as wild pointers. The behavior of uninitialized pointers is undefined because they point to some arbitrary memory location. Wild pointers may cause a program to crash or behave badly. Note: Generally, compilers warn about the wild pointer. int *ptr; //ptr is wild pointer Let see […]
What are wild pointers in C and How can we avoid? Read More »









