Usage void type in C:
sizeof void type is implemented as "1". And In "C" we can have the flexibility to increment the void pointer.
Usage of void type in C++:
In C++, incrementing "void" pointer is not permitted. And sizeof(viod type) throws an error saying that type is unknown.