Created By: Hanan Mannan
Contact Number: Pak (+92)-321-59-95-634
==================================Interview/Exam Question
Q. What "Void" type means in C/C++ ?
Ans. (a) When "Void" type is used in function definition it means that function will not return any value.
(b) When "Void" is used with pointer type variable declaration eg: void* x or void* num etc. It means any empty type i.e later in the the program you can point any data type(int or float type varibale) to x or num respectively.
Contact Number: Pak (+92)-321-59-95-634
==================================Interview/Exam Question
Q. What "Void" type means in C/C++ ?
Ans. (a) When "Void" type is used in function definition it means that function will not return any value.
(b) When "Void" is used with pointer type variable declaration eg: void* x or void* num etc. It means any empty type i.e later in the the program you can point any data type(int or float type varibale) to x or num respectively.
0 comments:
Post a Comment