What is mean by that void *ptr in C? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is mean by that void *ptr in C?

I am little bit confuse about these.

29th Jul 2020, 10:39 AM
Aurnab Das
Aurnab Das - avatar
2 Answers
+ 3
Aurnab Das Why are you writing someone's profile link in your thread tags? FYI links do not work if we put them in thread title or tags.
29th Jul 2020, 11:18 AM
Ipang
+ 2
A void pointer is a pointer that has no associated data type with it. A void pointer can hold address of any type and can be typecasted to any type.
29th Jul 2020, 10:39 AM
Lakshay Mittal
Lakshay Mittal - avatar