C++ Basics: The RETURN Keyword

preview_player
Показать описание
The return keyword is what you call a control flow statement. Although we talked about 2 control flow statements already in this video :
we decided not to talk about the return keyword in that video. Both continue and break are associated with loops and the return keyword is not. So it is better to understand everything about the return keyword in a dedicated video.

The return keyword is often seen in functions, like return 0; and things like that. However it is a special keyword that can be used to escape from an entire function. Normally if you used break inside of a loop, it will get out of the loop when the break statement is hit. But now whenever you call return, whether inside a loop, if condition or a function, you will be able to get out of the entire function. Also return allows you to bring back a value when exiting from the function and that's why we use return types when making functions.

Seems like a lot to swallow, but we'll make them simple in the video!

◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼

⭐This video was fully edited on my new portable Asus Laptop with an Intel Atom Processor. It was quite tedious, but I had to because I was away from my Computer and I only had this baby. However, I am quite satisfied with its performance and also it is quite good as a travelling laptop. If you want something like that, checkout this link. I actually saved some bucks too.

◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼
🔴 My Original Rig: 🔴
◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼

◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼ ⚠️STOP WASTING TIME ON⚠️

• Channel Management
• Creating Thumbnails
• Keyword Research
• Adding Info Cards
• Optimizing Videos
• Managing Comments
• AND A LOT MORE

TubeBuddy is here to do all that for you!!
If you're a content creator like me and would love to speed up your workflow and target promotions, click this link and install the TubeBuddy Extension for FREE!

◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼

Watch the Previous Video:

Also Watch these Videos:

Also Watch the Entire Playlist:

Recommended:

==========================================

Get Social

==========================================

for any useful material including project files and software downloads.

Make sure to comment down your ideas below!
OR, you can mail me via,
mailto:

==========================================

TAGS (IGNORE)

==========================================
Рекомендации по теме
Комментарии
Автор

Mata kiyala denna puluwnda ara udama thiyAna import iostrom kiuanne mkd kiya

sanjeewakrishantha