Void Data Type

                                                          


                                                               Void Data Type


The void type has no values therefore we cannot declare it as variable as we did in case of integer
and float. The void data type is usually used with function to specify its type and void has no range.


 
syntax :-

void<function name>(<data type><space><identifier>)



void div(int a)

Comments

Popular posts from this blog