Functions in C++ Programming | Part - 1

preview_player
Показать описание
Support Simple Snippets by Donations -
--------------------------------------------------------------------------------------------- Definition : A function in C++ is a group of program statements with a unique name that perform a specific task.
Functions are used to provide modularity & reusability to a program.
By default every C++ program execution starts from the main() function.
Depending on whether a function is predefined or created by user; there are two types of function:
Library / Predefined Function
User-defined Function

Syntax of functions:
return_type function_name( parameter list ) {
//body of the function
}

Following are the components of a C++ function:
Return Type: A function may return a value. The return_type is the data type of the value the function returns. Some functions perform operations without returning a value. In this case, the return_type is the keyword void.
Function Name: This is the actual name of the function. The function name and the parameter list together constitute the function signature. To call a function, its name is used.

Simple Snippets Official Website -
Simple Snippets on Facebook-
Simple Snippets on Instagram-
Simple Snippets Google Plus Page-
Simple Snippets email ID-

UpSkill is an Ed-Tech Company / Coaching Centre for Information Technology / Computer Science oriented courses and offer coacing for various Degree courses like BSc.IT, BSc.CS, BCA, MSc.IT, MSc.CS, MCA etc.

Contact via email /call / FB /Whatsapp for more info

We also Provide Certification courses like -
Android Development
Web Development
Java Developer Course
.NET Developer Course
Рекомендации по теме
Комментарии
Автор

Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more video content just for you ✌

SimpleSnippets
Автор

Honestly, you explained better than all of my teachers combined. Tysm.

nv
Автор

You got to be kidding me. I've had som struggles with understanding the c++ coding - but you, you have made me not only remember how to do it, but to understand why we are doing this way. Man, you are awesome

narsilthesword
Автор

Wow. Honestly, so well explained that I feel like I have now truly understood the concept. Understood it like never before.

mukthakrishna
Автор

I am in college, and I can't believe I'm watching this. Thanks for the awesome refresher man!

leokeatonn
Автор

1) arraylarge( )
It should find the largest element among an array of size 10. Ask user to input numbers from the user and then find the largest number from it .
2) called( )
This is a function which displays a message that how many times it has been called
e.g “ I am called 3 times “
Design main ( ) in which you have to both the functions several times use argument passing to call the second function . Make variable or arguments whatever you like.

ayeshakhushbakht
Автор

I really thank my friend to recommend your
You are one of the best
I always see your videos before my exams :)

abhinavkumar
Автор

Really I appreciate you. Cuz you helped us to understand well and I never forget this lesson again, when ever I remember C++ also I'll remember your great explanation. Thanks a lot of thousand times.

amiramahamoud
Автор

Spent 2 weeks reading my study guide on this topic and still didn't understand anything. Watched 10 minutes of this video and I'm all set. Definitely recommending this page

kutullonchabeleng
Автор

I've watched many videos on YouTube I didn't understand clearly except for the theory part this video made my day thanks bro

DesiMMAChronicles
Автор

You explained better than all of my teachers. i really impressed.

MuhammadKamran-conn
Автор

ur explaination just amazing. now i am very clear with got confidence....Thank you.

dhirajvairagade
Автор

The best video ever on function brother....may u get lots nd lots of

riteshkumarmahato
Автор

U r amaaaazing many your voice says that y r young but did a great job, it was as simple as that after watching this video, but before I thought it's impossible to learn
U r infinite times better than my teachers
Please tell your age

Lingesh_
Автор

thanks man, really helped me out. I was in a dilemma for quite a time and now its all clear to me.
Keep up the good work bro.

nirmalrajeev
Автор

Our school teacher dosent teach anything and i foun this tutorial the day before exam. I should have found it early but your method is unique. Thank u sir.

sureshtv
Автор

nice job dude .really clears the basic concepts helps a lots

aryasingh
Автор

ty ty it helped me a lot. you did a very good job of explaining and the example was simple, perfect.

pooyaarsalany
Автор

I am definitely subscribing. What an awesome teacher

lkdc_sensei
Автор

thank you so much bro.., i have watched many tutorials but no one explained the way you did, , 🙏❤

madhurshah
visit shbcf.ru