Find Largest & Smallest Number in Array in C | Array Logic (Marathi)
Автор: NR CLASSES LLP
Загружено: 2026-01-10
Просмотров: 2
In this video, we write a C program to accept an Array from the user and find the Largest (Maximum) and Smallest (Minimum) numbers in it. 💻
We discuss a very important Logic Question:
Why should we initialize max and min to arr[0] (First Element)?
Why is initializing them to 0 a mistake? (Hint: What if the array has negative numbers like -5, -10?)
📝 Topics Covered:
✅ Logic to traverse an Array using a Loop.
✅ Updating Maximum and Minimum values.
✅ Handling negative numbers correctly.
✅ Dry run with 5 random numbers.
👨💻 This video is perfect for:
Beginners learning Array Data Structure in C.
Students preparing for "Array Logic" interview questions.
Understanding why initialization matters in programming.
🚀 Why learn from NR Classes? We focus on Logic Building, not just syntax. Our goal is to make you confident in writing your own programs.
📞 Join Our Offline/Online Classes: Want to learn personally from experts?
Call/WhatsApp: 9730381255
🌐 Connect with us:
Instagram: / logic_overflow (Daily Coding Quizzes & Reels)
Facebook: / nrclasses
Location: Pune, Maharashtra
🔔 Don't forget to SUBSCRIBE and hit the Bell Icon so you never miss a new logic-building video!
#CProgramming #ArrayInC #MaxMinArray #MarathiCoding #NRClasses #LogicBuilding #Engineering #BCS #BCA
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: