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.
This question was raised by:
Student of SSUET, Fiza Shahamat
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.
This question was raised by:
Student of SSUET, Fiza Shahamat
A variable is a symbol or name that stands for a value or a data, it will have a data type that indicates what sort of value the variable represents, such as whether it is an integer, a floating-point number, or a character..
For example, in the expression x + y, x and y are variables.
Variables can represent numeric values, characters, character strings, or memory addresses.
Rather then using numeric values or data directly onto the code, a programmer uses the support of a variable to make their program flexible. Then, when the program is executed, the variables are replaced with real data. This makes it possible for the same program to process different sets of data.
This question was raised by:
Student of SSUET, Fiza Shahamat