C++ Functions | Function Prototype | Function Parameters

preview_player
Показать описание
Join my Skillshare Classes for 1 Month Free Access

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
Рекомендации по теме
Комментарии
Автор

Can I use function prototype with parameters and default value???

madhuram