C++-- void pointers

Objectives :

  • Control statement : switch
  • Enum Data type
  • void pointer type: a generic pointer can be pointed to any data type.
  • Code ; myVoidPointer1.txt

Step: 1 Create a project

Step: 2 Create a source file

Step: 3 Edit Source code

Step: 4 Runtime View

Step: 5b