void
The void
data type is special, because you cannot use it to declare variables. You can only use it to declare a function that does not return a value:
void DoNothing()
{
}
The void
data type is special, because you cannot use it to declare variables. You can only use it to declare a function that does not return a value:
void DoNothing()
{
}