+ 3
is it possible to declare void data type variable..?
example ...void x=anything;
7 Respostas
+ 2
the purpose of a type is to specify how data are represented in memory.
Void is nothing, there is no storage space defined, so you can't store data, so having a variable of type void does not make sense...
+ 3
There is a void pointer, but I don't think you should use it yet.
+ 2
Because it's nothing. You can't assign a value, so why would you need it?
+ 1
can u explain y not
+ 1
thanks
0
no
- 1
Nope.