What is the difference between void type pointer and simple pointer? Use C++ program
Answers
Answered by
0
Answer:
Difference between void pointer in C and C++ In C, we can assign the void pointer to any other pointer type without any typecasting, whereas in C++, we need to typecast when we assign the void pointer type to any other pointer type.
Answered by
0
Aɴsᴡᴇʀ☘
Difference between void pointer in C and C++ In C, we can assign the void pointer to any other pointer type without any typecasting, whereas in C++, we need to typecast when we assign the void pointer type to any other pointer type. Let's understand through a simple example.
Hᴏᴘᴇ Iᴛ Hᴇʟᴘs~❤️
Similar questions