C++ Functions | Function Prototype | Function Parameters

151K views Mar 21, 2024
publisher-humix

codeloop.org

Join my Skillshare Classes for 1 Month Free Access https://www.skillshare.com/r/user/parwizforogh?gr_tch_ref=on&gr_trp=on In this video iam going to talk about C++ Functions | Function Prototype | Function Parameters. Functions are used to group codes for performing specific tasks. For defining a function first you need to write the return type of the function, after that you need to write the name of  the function. So the return type is just the data type of the value that function returns. so if your function returns an  integer you need to use the return_type as int, or if returns a float you need to use the return type as float. If our functions is not returning any value we need to use void. #CPP#CPPTutorials

#C & C++
#Computers & Electronics
#Programming