Well let me explain this to you in a better way. The terms 'subprogram', 'function' and 'method' have all the same meaning in C/C++ but we usually called them functions, and we divide the functions into two types :
1)Function : it's the usual one, as we all know, it returns a value.
2) General format :
Type function_name(<arguments>){
// Your work
return <value/variable> //Note : the type must be the same as the function
// type.
}
Example :
int Maheen(int a, int b){
int c = a + b;
return c;
}
Procedure : it's a function but it doesn't return any value, it begins with 'void'.
General format :
void function_name(<arguments>){
// Your work
//Note : There is no return here.
}
Example :
void Maheen(int a, int b){
int c = a + b;
printf("The sum is : %d", c);
}
I think this can help you greatly
<span>
</span>
<span>Larry is creating a decorative doorknob for his room and the technique that he should use to get a perfect symmetrical finish would be asymmetric. A</span> asymmetrical<span> balance, the two sides are not identical, but differ from one another. </span>
Answer:
.Name a pop song that’s underrated - I just want new music plssss. pls comment if someone already answered so we can all find some new music thx
nice hand
Answer:
B
Explanation:
All of the others true. Just think abou when you watch the news
Answer:
SORRY..
Am not able to understand your question
Explanation:
Can you please ask in Hindi or English...