Computer Science, asked by sona9946, 1 year ago

how to write any function in c++​

Answers

Answered by Anonymous
2

<html><head><body bgcolor="black"><font size="4" color="Silver"><b><u><marquee>★Hello Curious I Hope this Answer Help You★</html></head></body></font></b></u></marquee>

In C++, a function is a group of statements that is given a name, and which can be called from parameters (as many as needed).

The thing is that when you define the function before the main() function in your program then you don't need to do function declaration but if you are writing your function after the main() function like we did in the second program then you need to declare the function first, else you will get compilation error.

Answered by sunitach2981
1

Syntax: C(SUP) ++(/SUP)

Except this uuuu have to write same html code..

Similar questions