Hi
I have doubt on some term. I am explaining with example
first example
The first term void indicate that the function does not return any value. and second term indicate that function does not send any data in the form of argument
Second example
this function return integer 0
Third example
Q1. when and where do we use specific types of function ?
Q2. what is meaning of function return integer ? does any function return character?
I have doubt on some term. I am explaining with example
first example
Code:
void main (void)
{
// function statement //
}
Second example
Code:
int main (void)
{
// function statement //
return 0;
}
Third example
Code:
void wait (void)
{
// function statement //
}
Q2. what is meaning of function return integer ? does any function return character?