void is used with function as well as with pointers. There are two types of functions: one that return something and other that do not return anything. We use void with the functions that do not return anything.View more random threads:
- What is namespace std in c++ 2011?
- how to make .h file in c++
- Sorting code in c++
- factorial in C++ code 2011
- what is main logic behind turning a register into byte...
- what is difference between Data Members and Members...
- why we use pointers or reference except using real name of...
- what is the main function of bool explain in detail?
- pasting my code down # include main () { char endp; char...
- what is operan and operater ?
If the type of pointer is not known, then we can use void pointer. Void pointer can point to any type of data.
Sponsored Links
There are currently 1 users browsing this thread. (0 members and 1 guests)