ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Is it BETTER to use i++ or ++i?

Автор: CodeSlate

Загружено: 2025-10-19

Просмотров: 262

Описание: Learn the KEY difference between i++ and ++i in Java, C, or C++! You'll also learn when the difference matters versus when you can not worry about it, and we'll answer if it's BETTER to use i++ or ++i.

This video explains how i++ differs from ++i in the langauges C++, Java, and C. The ++ operator adds one to a variable, but that's not all it does. We also call these two operators the suffix increment operator and the prefix increment operator. You'll learn how the ++ operator/increment operator works with for loops, while loops, when used inside a mathematical expression, and when by itself.

I'm a private computer science tutor with both a master's degree and bachelor's degree in Computer Science. I'm also a certified teacher, and I love helping students score higher and understand code at a deeper level.

If you're interested, you can contact me on my website:
https://www.codeslatetutoring.com/fro...

00:00 Intro
00:16 Difference between i++ and ++i
01:52 Using increment i++ or ++i in mathematical expression
03:22 Using i++ or ++i in a for loop
04:49 Using i++ or ++i in a while loop
06:18 Summary and edge case of C++
07:18 C++ special case explained
08:43 Why ++i is preferred
09:43 Conclusion/About me

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Is it BETTER to use i++ or ++i?

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]