Question:What is use of void data type? 

Answer Void is an empty data type normally used as a return type in C/C++, C#, Java functions/methods to declare that no value will be return by the function. The another used of void is to declare the pointer in C/C++ where It is not sure what data type is addressed by the pointer. 

+ Report
Total Preview: 1650
What is use of void data type?
Copyright © 2024. Powered by Intellect Software Ltd