Usually there are 4 categories of function:
1. Function without argument and without return value
Example: Address()
2. Function with argument and without return value
Example: Add(int a, int b)
3. Function without argument and with return value
Example: int Add()
4. Function with argument and with return value
Example: int Add(int a,int b)
1. Function without argument and without return value
Example: Address()
2. Function with argument and without return value
Example: Add(int a, int b)
3. Function without argument and with return value
Example: int Add()
4. Function with argument and with return value
Example: int Add(int a,int b)
Comments
Post a Comment