Arrays in One Shot | C Programming | Lecture 7

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

ความคิดเห็น •

  • @CollegeWallahbyPW
    @CollegeWallahbyPW  2 ปีที่แล้ว +147

    📗 Enroll Now in Decode Batches and become JOB READY:
    📌 Python with DSA: bit.ly/4bXv5xF
    📌 Java with DSA: bit.ly/49vEQkZ
    📌 C++ with DSA: bit.ly/49NnNKT

  • @binarydecode
    @binarydecode ปีที่แล้ว +74

    Hands down, One of the best lectures on C, keep it up
    Maza aa gya

  • @GrooveMusicc
    @GrooveMusicc ปีที่แล้ว +230

    TIME STAMPS:
    00:00 Introduction
    03:34 What is an Array?
    08:40 Syntax and Declaration
    13:10 Indexing in Arrays
    16:08 Accessing Array elements
    24:07 Output and Input using LOOPS
    38:49 Prob 1 : Given array of marks, print marks less than 35
    45:00 Prob 2 : Find the correct declarations
    48:47 Prob 3 : Indexing based question
    49:39 Memory allocation in Arrays
    1:00:48 Prob 4 : Predict the output - 1
    1:03:10 Prob 5 : Predict the output - 2
    1:07:37 Garbage Values
    1:09:04 Prob 6 : Find the error - 1
    1:12:13 Prob 7 : Find the error - 2
    1:13:17 Prob 8 : Print the sum of elements in given array
    1:18:14 HW 1 : Print the product of elements in given array
    1:19:11 Prob 9 : Print the maximum element in given array
    1:31:26 HW 2 : Print the minimum element in given array
    1:31:36 Prob 10 : MCQ - 1
    1:33:01 Prob 11 : MCQ - 2
    1:34:56 Prob 12 : MCQ - 3
    1:35:14 Passing ARRAYS to FUNCTIONS
    1:44:36 Prob 13 : State True or False
    1:45:47 Prob 14 : Multiply odd indexed elements by 2 and add 10 to the even elements
    1:52:38 HW 3 : Print elements greater than x
    1:53:59 Prob 15 : Print difference b/w odd indexed and even indexed elements
    1:58:12 Prob 16 : Find total number of pairs whose sum add up to x
    2:07:07 Prob 17 : Find total number of triplets whose sum add up to x
    2:12:50 Prob 18 : Find the second largest element in Array
    2:19:28 **Prob 19 : Find second largest element in single pass of array
    2:42:15 Prob 20 : WAP to copy elements of array to another array in reverse order
    2:46:06 *Prob 21 : Reverse the Array without using extra array
    2:53:35 HW 4 : Check if given Array is Palindrome or not
    2:54:52 **Prob 22 : Rotate the given Array by ‘k’ steps
    3:18:55 Prob 23 : Check if the given element in present in Array or not
    3:35:42 HW 5 : Find the missing element in given range
    3:39:40 Prob 24 : Find the duplicate element in given array
    3:44:15 Prob 25 : Find unique number, where all other elements are duplicate
    3:59:30 Comment kardo na fir ki - Maza aa gaya

  • @ankanmaity1973
    @ankanmaity1973 ปีที่แล้ว +124

    mind blowing...... so detailed lectures, anyone who wants to start his programming journey can definitely start with this c programing lectures...

    • @MADHUKUMAR-rx2oq
      @MADHUKUMAR-rx2oq ปีที่แล้ว +2

      bhai notes bana hai tu pin kar do comment me

    • @teamsynum9986
      @teamsynum9986 5 หลายเดือนก่อน

      BRUH DOES HE COVERED DSA IN THIS SERIES

    • @KattarHinduShivendra
      @KattarHinduShivendra 22 วันที่ผ่านมา

      @@teamsynum9986 NO THERE IS SEPERATE SERIES FOR IT!

  • @Rahul_Raj__
    @Rahul_Raj__ ปีที่แล้ว +177

    1:06:53 Sir, yahan par i ki value starting wali nahi hogi i.e. 1 ..... balki loop 0 se 48 baar chalega aur finally i = 49 par loop exit ho jyega toh lastly i me 49 value assign ho jyegi.... So output par 49 print hoga ❤❤❤

    • @Dimdum842
      @Dimdum842 ปีที่แล้ว +5

      yes :)

    • @shaharyarsajawal5619
      @shaharyarsajawal5619 ปีที่แล้ว +5

      YES!

    • @akashchakraborty2144
      @akashchakraborty2144 ปีที่แล้ว +6

      yessss

    • @Utkarsh-772
      @Utkarsh-772 ปีที่แล้ว +3

      Bilkul 👍

    • @SachinDiwakar-d9z
      @SachinDiwakar-d9z ปีที่แล้ว +5

      you are right but can you explain me more. loop 48 times tak kyu chakega jab for loop ke age semicolun hai to use pahaki baar me hi tarminate ho jana chahiye na or last me i ki value 49 kase hui.

  • @L-b3u
    @L-b3u 8 หลายเดือนก่อน +8

    1:28:39 return fn
    1:35:10 passing array to function
    2:12:55 second largest
    2:46:03 pointers

  • @softmedun6794
    @softmedun6794 ปีที่แล้ว +29

    Sir aap hi C++ ka complete course ka playlist banaye n aap bahut achhe padhate hai please sir please 😢😢😢😢

  • @ananyieie
    @ananyieie ปีที่แล้ว +16

    Thankyou so much for the amazing lecture sir !! I am so grateful to you !! You teach soooo good 😀😀

  • @akshaykanawade302
    @akshaykanawade302 2 ปีที่แล้ว +23

    I understand coding because of You✨️❤️ thank You sir

  • @softmedun6794
    @softmedun6794 ปีที่แล้ว +10

    Sir aap Jaise teacher pura TH-cam per kahin nahin
    Bahut achha padhate h aap easy language me❤

    • @aryanrajbhar3807
      @aryanrajbhar3807 6 หลายเดือนก่อน

      Brother notes nhi hai kya

    • @softmedun6794
      @softmedun6794 6 หลายเดือนก่อน +1

      @@aryanrajbhar3807 ha

  • @lovelife4118
    @lovelife4118 9 หลายเดือนก่อน +2

    Hands down, One of the best lectures on C, keep it up
    Maza aa gya ❤ 😊

  • @adityasharma-vk8fg
    @adityasharma-vk8fg 11 หลายเดือนก่อน +3

    thankusoo much sir....!!! i think that's the best video i found on internet..!!! You are a very good teacher sir 😊

  • @vkcreative7073
    @vkcreative7073 หลายเดือนก่อน +2

    Ma dawa kr sakta hu ki iss channel se acchi c programming koi or channel nhi padha rah what a explanation 🔥

  • @nayan_CSE
    @nayan_CSE ปีที่แล้ว +26

    49:50 actually memory allocation depends on the architecture of your system.. if you have a 32 bit system then the size will be 2 bytes(integer) and 4 bytes 64 bit system...

    • @flaminate3700
      @flaminate3700 ปีที่แล้ว +2

      It depends on the compiler

    • @jitendratolani5908
      @jitendratolani5908 ปีที่แล้ว

      At 3:23:17 why sir had not written &x, &i
      Pl explain.

    • @wizard09
      @wizard09 ปีที่แล้ว

      ​@@jitendratolani5908because he is printing

    • @jdhruv
      @jdhruv หลายเดือนก่อน

      @@flaminate3700The @flaminate3700 compiler is installed separately for 32-bit and 64-bit systems.

  • @bhavi6115
    @bhavi6115 4 หลายเดือนก่อน +1

    Superb lecture sir 💯❤️❤️👏👏🎉🎉Maza aa gaya 🤩🤩🤩 Thank you so much sir 🙏🙏🙏😊❤️❤️

  • @MudassirHasan-it2yw
    @MudassirHasan-it2yw ปีที่แล้ว +16

    Thank u sir , very helpful for 1st year students !!

  • @arindamdeka8095
    @arindamdeka8095 11 หลายเดือนก่อน +5

    Thank you so much Sir for this amazing lecture on Arrays. Mazza Aa gya 🔥

  • @shivam-editz1_
    @shivam-editz1_ 4 หลายเดือนก่อน +1

    Thank you sir wondfull lecture woth lots of problem solving🎉❤

  • @shubhamgolvelker6150
    @shubhamgolvelker6150 ปีที่แล้ว +20

    01:07:36 The o/p will be 49 and not 0 because we have declared variable i in main, not in loop

    • @gangapurampraneethreddy1356
      @gangapurampraneethreddy1356 7 หลายเดือนก่อน

      ya

    • @aryangupta6660
      @aryangupta6660 5 หลายเดือนก่อน +1

      Yah bro

    • @soumyajain8994
      @soumyajain8994 4 หลายเดือนก่อน +3

      bro if we declare i in loop then it will give error because i is not define for main function

    • @NashwaMS
      @NashwaMS 4 หลายเดือนก่อน

      @@soumyajain8994 that's exactly what he said

  • @torishi82
    @torishi82 11 หลายเดือนก่อน +2

    Thank you for the best explanations. Amazing. As a token of my appreciation, I watch full adds (don't skip) and click on links in ads.

  • @rikmishra6743
    @rikmishra6743 ปีที่แล้ว +9

    Very nice sir , most detailed lecture I have ever seen.

  • @strangeboy0012
    @strangeboy0012 ปีที่แล้ว +2

    sir 1:07:25 me Question ka answer 49 aa rha hai ;
    ;
    aur lecture me mje aye app ko dhanyavad 🤩💫🙏🙏🙏;

  • @arinlamba4427
    @arinlamba4427 9 หลายเดือนก่อน +5

    3:44:26 Sir last question mai agar unique element last index pr hoga to ye code nhi chlega sir to agr please kisi ko pta hai ki kya changes krne hai code mai to please reply kr do bhai

  • @mahekjoshi9959
    @mahekjoshi9959 9 หลายเดือนก่อน +2

    I can solve stuffs on my own ! I m proud of this achievement Thanks CW

  • @Ganesh.programmer
    @Ganesh.programmer ปีที่แล้ว +5

    You are great sir❤
    Unbelievable teaching 👍
    Thank you sir 🙏

  • @IsmailSk-rf5om
    @IsmailSk-rf5om ปีที่แล้ว +2

    isse achcha video ho e nehi sakta hai ....this video ❤❤❤❤❤❤

  • @pandey3277
    @pandey3277 ปีที่แล้ว +9

    i have watched so many c language videos in the internet this is the best and easiest video better than my coaching classes thank you sir ji.

  • @Mr.Qurious21
    @Mr.Qurious21 7 วันที่ผ่านมา

    Salute to the best programming teacher on youtube ❤ maza agua sir

  • @khushdilansari4506
    @khushdilansari4506 ปีที่แล้ว +22

    1:07:35 Output 49

  • @AyushPandey-i8j
    @AyushPandey-i8j 26 วันที่ผ่านมา +1

    [2].I have seen this lecture today.I have completely understood all the concepts you explained in class. Your teaching method was very simple and effective, which made me understand everything easily. I am very grateful to you for your guidance and hard work. Your student, [Ayush ]...🫡❤️😊
    12TH DECEMBER 2024...

  • @kunalkumar1964
    @kunalkumar1964 2 ปีที่แล้ว +16

    Most awaited lecture 💫

  • @RajeevKumarNishad-o6m
    @RajeevKumarNishad-o6m 5 หลายเดือนก่อน +1

    Sir Maza aa gya, mai first time programming kr rha hu to thodi dikkat aayi but aapke saath bana rha to sab samjh aa gya, THANK YOU FOR SUCK QUALITY QUESTIONS..

  • @ankushjha785
    @ankushjha785 6 หลายเดือนก่อน +14

    1:30:42 ---- mistake --------> int data type ka range -2^31 se (2^31 - 1) hota.

    • @harshdevjha2359
      @harshdevjha2359 หลายเดือนก่อน

      Yes bro u are right .....coz 32nd vali bit already 1 ya 0 se occupied rehti h .... for negative numbers its 1 and for positive number its already occupied with 0....

  • @KishanKumarXIID
    @KishanKumarXIID 16 วันที่ผ่านมา +1

    the last code was really amazing . i felt happy idk why 😊

  • @amberhasan-z7z
    @amberhasan-z7z ปีที่แล้ว +3

    tower of hanoi me maza aagyaaa...
    literally BAAP of all lectures on recursion.....

  • @shivamkumarshivam5977
    @shivamkumarshivam5977 9 หลายเดือนก่อน +1

    Bilkul makhan tha sir lecture ka swaad aa gaya....TNKS

  • @ysc_chandan
    @ysc_chandan 7 หลายเดือนก่อน +6

    1:07:23 sir yha pe 49 print hoga kyunki loop 0-48 yani 49 baar chalega or at the end 49 pe jake ruk jayega aur 49 value hi assign ho jayega

  • @abz-d8m
    @abz-d8m 20 วันที่ผ่านมา

    difficulty starts from here....
    but sir explained very very well.....mazaa aa gya
    thankyou sir

  • @aliyaafreen6234
    @aliyaafreen6234 ปีที่แล้ว +4

    Thank you sir for such a great lecture this is very helpful for us maza aa gyaa sir 🙌🙌

  • @Megafacts6351
    @Megafacts6351 2 วันที่ผ่านมา +1

    i learnt so many things in this session!!

  • @Anurag-fk3op
    @Anurag-fk3op ปีที่แล้ว +14

    Last bale question me agar multiple unique element hoga to break statement nhi lagayenge but uske karan Loop aage chalega aur repeated elements ko bhi unique bata dega kyuki aage repeatation hoga hi nhi.

    • @alifaisal77616
      @alifaisal77616 10 หลายเดือนก่อน +3

      You are right brother
      He wrote the last code wrong

    • @Anurag-fk3op
      @Anurag-fk3op 10 หลายเดือนก่อน

      Bro he literally built up my basic concepts when i started coding.
      i used to struggle in pattern printing he made me comfortable in it🙌🤩@@alifaisal77616

    • @pushkarshaw233
      @pushkarshaw233 8 หลายเดือนก่อน +2

      Yes last code is wrong

  • @ohkay5735
    @ohkay5735 11 หลายเดือนก่อน +2

    1:00:03
    Passing elements to arrays
    1:33:03

  • @basicomathematics
    @basicomathematics ปีที่แล้ว +15

    at 1:07 the output is provided by you is 0 to the code but it will be 49
    int sub[50],i;
    for(i=0;i

    • @cpranikerkumar9742
      @cpranikerkumar9742 ปีที่แล้ว

      you are right

    • @mayankkumar4110
      @mayankkumar4110 ปีที่แล้ว +2

      worng there is semicolon so the valu of i =0; if there is no semicolon the i =0 to 48 only

    • @susmitaghosh6539
      @susmitaghosh6539 7 หลายเดือนก่อน

      Correct... due to loop i will be incremented and terminate at i=49. SO answer will be 49 here

    • @basicomathematics
      @basicomathematics 7 หลายเดือนก่อน

      @@susmitaghosh6539 I was just a noob at that time but actually in c language when the terminator comes after the loop condition the loop breaks and the compiler continues to compile a new line.

    • @SritamDash-ej5ts
      @SritamDash-ej5ts 2 หลายเดือนก่อน

      ​@@mayankkumar4110Right 👍🏻

  • @VinaySharma-ui8ee
    @VinaySharma-ui8ee 2 ปีที่แล้ว +15

    1:03:10 Prob 5 : Predict the output - 2 ----> output for this question will be 49

    • @codexintern-p9c
      @codexintern-p9c 2 ปีที่แล้ว +2

      yes the output will be 49

    • @sadhvivenkatk6499
      @sadhvivenkatk6499 ปีที่แล้ว +3

      Same yar
      1:12:08 sir ne kha out put will be 1
      1
      2
      2
      3
      3
      .
      .
      But it is showing nothing in cmd

    • @aditisamargade1307
      @aditisamargade1307 ปีที่แล้ว

      @@codexintern-p9c but Sir is correct , the output should be 0

    • @niyatiraj1883
      @niyatiraj1883 ปีที่แล้ว +1

      ​@@aditisamargade1307 how??
      Can you explain ??

    • @aditisamargade1307
      @aditisamargade1307 ปีที่แล้ว +1

      ​@@niyatiraj1883 Sir has explained it very well the only problem is compilers are correcting it by removing the semicolon automatically. Otherwise, if you dry run the code u will get output as 1.​

  • @Shivamishra16
    @Shivamishra16 ปีที่แล้ว +2

    thank you sir your knowledge and teaching method help to learn coding very much 😇😇💥

  • @meetsvnitcse1191
    @meetsvnitcse1191 ปีที่แล้ว +6

    at 02:50:00 can't we use directly
    printf("%d",arr[6-i]);
    in for loop, we can easily get it.

    • @PATTI_2.0
      @PATTI_2.0 11 หลายเดือนก่อน +1

      Int size = ar.size(); is showing error how you have printed that?

    • @meetsvnitcse1191
      @meetsvnitcse1191 11 หลายเดือนก่อน +1

      @@PATTI_2.0 your code is of python i think.
      Will give error for c

  • @signalinternet5934
    @signalinternet5934 9 หลายเดือนก่อน +1

    bhai sahab I COMPLETED 7 LECTURES, HANDS DOWN THE ONLY BEST LECTURES I HAVE EVER FOUND ON INTERNET

  • @notvivekkushwaha
    @notvivekkushwaha 8 หลายเดือนก่อน +7

    2:48:00 Instead of using function and pointers
    We can simply program it like this :-
    for( int i=0; i

    • @onlyone7209
      @onlyone7209 4 หลายเดือนก่อน

      You're dum this is not for only printing reverse this is for making array reverse

    • @Shivam09-z2q
      @Shivam09-z2q หลายเดือนก่อน

      Maine bhi aise par sahi hai

    • @AnshKushwaha-ix5td
      @AnshKushwaha-ix5td หลายเดือนก่อน

      For(int i=6;i>=0;i--);
      Printf("%d",arr[i]);
      This is also coorect

    • @notvivekkushwaha
      @notvivekkushwaha หลายเดือนก่อน +1

      @AnshKushwaha-ix5td yes correct

    • @Jeeffv
      @Jeeffv 23 วันที่ผ่านมา

      You are wrong here because you are printing the element of the array in reverse but you are not actually reversing the array itself.

  • @RaghavKansal-g2v
    @RaghavKansal-g2v 5 หลายเดือนก่อน

    TIME STAMPS
    00:00 Introduction
    03:34 What is an Array?
    08:40 Syntax and Declaration
    13:10 Indexing in Arrays
    16:08 Accessing Array elements
    24:07 Output and Input using LOOPS
    38:49 Prob 1 : Given array of marks, print marks less than 35
    45:00 Prob 2 : Find the correct declarations
    48:47 Prob 3 : Indexing based question
    49:39 Memory allocation in Arrays
    1:00:48 Prob 4 : Predict the output - 1
    1:03:10 Prob 5 : Predict the output - 2
    1:07:37 Garbage Values
    1:09:04 Prob 6 : Find the error - 1
    1:12:13 Prob 7 : Find the error - 2
    1:13:17 Prob 8 : Print the sum of elements in given array
    1:18:14 HW 1 : Print the product of elements in given array
    1:19:11 Prob 9 : Print the maximum element in given array
    1:31:26 HW 2 : Print the minimum element in given array
    1:31:36 Prob 10 : MCQ - 1
    1:33:01 Prob 11 : MCQ - 2
    1:34:56 Prob 12 : MCQ - 3
    1:35:14 Passing ARRAYS to FUNCTIONS
    1:44:36 Prob 13 : State True or False
    1:45:47 Prob 14 : Multiply odd indexed elements by 2 and add 10 to the even elements
    1:52:38 HW 3 : Print elements greater than x
    1:53:59 Prob 15 : Print difference b/w odd indexed and even indexed elements
    1:58:12 Prob 16 : Find total number of pairs whose sum add up to x
    2:07:07 Prob 17 : Find total number of triplets whose sum add up to x
    2:12:50 Prob 18 : Find the second largest element in Array
    2:19:28 **Prob 19 : Find second largest element in single pass of array
    2:42:15 Prob 20 : WAP to copy elements of array to another array in reverse order
    2:46:06 *Prob 21 : Reverse the Array without using extra array
    2:53:35 HW 4 : Check if given Array is Palindrome or not
    2:54:52 **Prob 22 : Rotate the given Array by ‘k’ steps
    3:18:55 Prob 23 : Check if the given element in present in Array or not
    3:35:42 HW 5 : Find the missing element in given range
    3:39:40 Prob 24 : Find the duplicate element in given array
    3:44:15 Prob 25 : Find unique number, where all other elements are duplicate
    3:59:30 Comment kardo na fir ki - Maza aa gaya

  • @NirajKumarPandey1234
    @NirajKumarPandey1234 ปีที่แล้ว +4

    [7].I have seen this lecture today.lecture is very interesting.
    21st August 2023

  • @KishanSingh-vi5tp
    @KishanSingh-vi5tp หลายเดือนก่อน +2

    1:07:23 Here 49 will be the output instead of 0
    Here's why 49 is printed instead of 0:
    Empty Loop Execution: With the semicolon (;) right after for(i=0; i

    • @ImHarsh971
      @ImHarsh971 หลายเดือนก่อน

      Yes, you are right. output is 49 instead of 0

    • @ImHarsh971
      @ImHarsh971 หลายเดือนก่อน

      Yes, you are right. output is 49 instead of 0

  • @Usernamepreeti
    @Usernamepreeti ปีที่แล้ว +5

    Your efforts raghav sir...🙏🙏🙏

  • @SaiRamEkkaladevi
    @SaiRamEkkaladevi 4 หลายเดือนก่อน +1

    Keep it up Sir 💯❤😊.

  • @anshulsharma267
    @anshulsharma267 ปีที่แล้ว +9

    Raghav Bhaiya or PW team ka dil se Shukriya...❣️

    • @teamsynum9986
      @teamsynum9986 5 หลายเดือนก่อน

      BRUH DOES HE COVERED DSA IN THIS SERIES

  • @golu-kk4du
    @golu-kk4du ปีที่แล้ว +1

    Amazing sir praiseworthy❤❤❤😊

  • @Rahul_Raj__
    @Rahul_Raj__ ปีที่แล้ว +11

    3:48:41 No sir, yaha par thora sa misconception ho gya hai ...... Agar aap wo break keyword waha use karoge toh condition true hone par nearest loop yani sirf inner for loop se exit hoga naaki dono for loop se ..... 🙂

    • @rohandsouza3941
      @rohandsouza3941 5 หลายเดือนก่อน +1

      correct i was searching for this comment only lol!!!

  • @rohitpandit5961
    @rohitpandit5961 11 หลายเดือนก่อน

    Thankyou so much sir, maaza aa gya ❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥

  • @vaishnavidwivedi6399
    @vaishnavidwivedi6399 หลายเดือนก่อน +10

    who is watching this video a day before the c-programming exam in december 2024😅

  • @MadhuLohkna-f6g
    @MadhuLohkna-f6g ปีที่แล้ว +1

    Thank you so much sir this information is very importanat🎉🎉😢

  • @eraniket
    @eraniket ปีที่แล้ว +7

    Achha hai Class but Bilkul basic hai Thoda Advance Questions prectice karaiye... Like Frequency of Each Element And So.. Extra...

  • @CARSVERSE_V8
    @CARSVERSE_V8 4 วันที่ผ่านมา

    Well explained sir 👏👏👏👏

  • @SanketMotewar-nx9zo
    @SanketMotewar-nx9zo ปีที่แล้ว +3

    1:07:28 the output will be 49 instead of 0 as the loop will work and go to 48 then 48++ which is 49 but 49>48
    Therefore out of the for loop then value of i =49
    Therefore ans is 49 ❤

    • @vaishnavinalabolu9603
      @vaishnavinalabolu9603 ปีที่แล้ว

      48 ko declare tho nahi Kiya naa

    • @SanketMotewar-nx9zo
      @SanketMotewar-nx9zo ปีที่แล้ว

      @@vaishnavinalabolu9603 there is nothing in for loop but still loop will execute till end.
      If there is anything in loop then this will execute but it this case there is nothing to execute in loop

    • @vaishnavinalabolu9603
      @vaishnavinalabolu9603 ปีที่แล้ว

      @@SanketMotewar-nx9zo if the condition is true it will go to inner statement but in this case semicolon is there after condition so it will not go further that's why ans is zero.

    • @SanketMotewar-nx9zo
      @SanketMotewar-nx9zo ปีที่แล้ว

      @@vaishnavinalabolu9603 if we use semicolon just after loop then it will not consider line under it
      It is same like
      For(____ _____ _____)
      ;
      If we write statement in it
      For(____ _____ _____)
      Printf();
      Firstly loop will initialise with first value and then it will check condition if true then execute below statements but in this there is not any statements so nothing will execute it again goes in loop then ++ then again check and so on .........
      So ...........(refer first comment)

    • @vaishnavinalabolu9603
      @vaishnavinalabolu9603 ปีที่แล้ว

      @@SanketMotewar-nx9zo thank you 😊

  • @shubhamkumar3139
    @shubhamkumar3139 ปีที่แล้ว +2

    thank you sir maza aa gya................🤩🤩

  • @victory-path101
    @victory-path101 ปีที่แล้ว +4

    Great teacher i truly liked your teaching style

  • @cppaliwal405
    @cppaliwal405 6 หลายเดือนก่อน

    I got Very good understanding just by following you thank you air❤❤

  • @GATEWith_HARIS
    @GATEWith_HARIS ปีที่แล้ว +45

    I m so confused why c lang is taught very clearly and with in depth knowledge only in GATE videos why not in placement type videos and I really appreciate the knowledge I get from GATE prep because they teach everything that little in depth concepts help a lot when we sit for coding. By the way you teach great 👏👏🔥

    • @priyanshuranjan1986
      @priyanshuranjan1986 ปีที่แล้ว +3

      Because wo gate ke purpose ke liye bana hai

    • @GATEWith_HARIS
      @GATEWith_HARIS ปีที่แล้ว +4

      @@priyanshuranjan1986 yes but jo bhi ho GATE ke concepts bahut zyada help krte hai coding ke time pe

    • @jitendratolani5908
      @jitendratolani5908 ปีที่แล้ว +1

      At 3:23:17 why sir had not written &x, &i
      Pl explain.

    • @nityanandmishra9616
      @nityanandmishra9616 ปีที่แล้ว +1

      @@jitendratolani5908 it will be only written if you take input like as scanf or you are print address....

  • @DarlSmasher
    @DarlSmasher 2 หลายเดือนก่อน

    Maazaaa aaagaiyaaa🎉🎉🎉🎉🎉🎉🎉

  • @ayush8265
    @ayush8265 ปีที่แล้ว +6

    sir last vala question ka code har bar kam nhi karega kyunki agar hum asa example le {1,3,2,1,4,2,3} to kam nhi kar rha apka code . BTW accha padhaya sir apne maja a gya . Thankyou sir

  • @thelearner664
    @thelearner664 ปีที่แล้ว

    You made my Coding journey awesome sir ji... Thank you so muchh.. Thanks a lot ❤❤❤

  • @shantanu_2006
    @shantanu_2006 ปีที่แล้ว +3

    1:13:14 pe line 6 mein scanf ke baad &arr[i] aana chahiye thaa. That is the 2nd error

  • @pawar_rajesh_10
    @pawar_rajesh_10 8 หลายเดือนก่อน +1

    2:50:20 sir say rat ke 1baj gye h 🤗☺
    dedication of sir

  • @rajveerrajpurohit5583
    @rajveerrajpurohit5583 4 หลายเดือนก่อน +4

    3:53:41 why can't we use Continue Statement? Can Anyone Please Explain?

    • @GOPALJHA-d2x
      @GOPALJHA-d2x 3 หลายเดือนก่อน

      countinue statement is to skip that part and run the loop but we have to stop once we find the value.

  • @shivendrayadav-j9d
    @shivendrayadav-j9d 7 วันที่ผ่านมา

    Nice lecture Guru ji 🎉🎉🎉🎉

  • @tushardhiman2458
    @tushardhiman2458 3 หลายเดือนก่อน

    Keep it up mzza aa gya 👍👍👍👍

  • @soumya1082
    @soumya1082 ปีที่แล้ว +6

    sir please make a video upon DATA STRUCTURE IN C.... it will be very helpful to us...

  • @monishmansuri2088
    @monishmansuri2088 3 หลายเดือนก่อน

    Sir aap both acccha padate ho 💯💯👍👍👍👍👍👍👍👍👍👍👍

  • @BURNINGSTUDIO
    @BURNINGSTUDIO 2 หลายเดือนก่อน +18

    notesss ???????//

    • @bb-ko9re
      @bb-ko9re 3 วันที่ผ่านมา +1

      Mila kya??

    • @BURNINGSTUDIO
      @BURNINGSTUDIO 15 ชั่วโมงที่ผ่านมา +1

      ​@@bb-ko9rebhai is lecture ke nhi h

  • @botgaming9123
    @botgaming9123 ปีที่แล้ว +1

    2:25:53 can we do this to reverse without an extra array--
    int arr[5]={1,2,3,4,5};
    for(int i=4;i>=0;i--){
    printf("%d ",arr[i]);
    }
    ???

  • @Op_gamer744
    @Op_gamer744 หลายเดือนก่อน +6

    sir notes open nahi ho rahe he ?

  • @alexjaiswal1
    @alexjaiswal1 7 หลายเดือนก่อน

    Great sir completed samjh aa gya 😊

  • @rubelhossainsayed
    @rubelhossainsayed ปีที่แล้ว +437

    Who are facing trouble for getting notes?

  • @Hruthika-m3x
    @Hruthika-m3x 5 หลายเดือนก่อน

    Maza aagaya bhaiya 🎉
    Thank you so much 💐

  • @apnashivamsingh
    @apnashivamsingh 2 ปีที่แล้ว +130

    Sir pls provides notes

    • @clashofclns7639
      @clashofclns7639 ปีที่แล้ว +4

      Bhai how can I download notes of this lecture??

    • @unitedstates5922
      @unitedstates5922 ปีที่แล้ว +3

      ​@@clashofclns7639Stop asking Questions...

    • @Tonynch_783_49
      @Tonynch_783_49 ปีที่แล้ว

      Abe website mein jakar khoj le

    • @ADITYACHAUHAN00777
      @ADITYACHAUHAN00777 ปีที่แล้ว

      ​@@Tonynch_783_49kaise Bhai plz reply

    • @Ft.AmanDeep07
      @Ft.AmanDeep07 ปีที่แล้ว

      Pw skills year notes dila dooo

  • @FFGaming-wn3dl
    @FFGaming-wn3dl 3 หลายเดือนก่อน

    Maza aagya sir pura fidda ❤❤❤

  • @Shubham12-45
    @Shubham12-45 ปีที่แล้ว +8

    sir last question is only applicable for array which u have chose
    for array{1,1,2,4,2,3,3,} this code is not applicable......

    • @harshadeepdas7830
      @harshadeepdas7830 10 หลายเดือนก่อน

      Yeah I noticed that too. In that case, it works if we run the second loop from j=0 (instead of j= i+1) and the " if " condition inside the second loop is put inside the loop if (i != j) {}. Now the code works for any type of array even if the elements are repeated consecutively.

    • @jee...2023
      @jee...2023 6 หลายเดือนก่อน

      +1​@@harshadeepdas7830

    • @xorxist
      @xorxist 2 หลายเดือนก่อน +1

      ​@@harshadeepdas7830 thanks a lot🔥

  • @MYSTERY7895RVK
    @MYSTERY7895RVK ปีที่แล้ว +1

    M 7 lecture complete dekh chuka huu
    Bhutt ache se smj aa rha h
    Tower of hanoi ka printing code smj ni aaya bs
    Baki aap bhutt Acha pdha rhe h mjaa aa rha hai abhi tak

  • @Saurav87099
    @Saurav87099 ปีที่แล้ว +3

    1:37:07

  • @shwetagore1455
    @shwetagore1455 ปีที่แล้ว

    Sir it's very helpful I just like your technic of teaching 😊 I'm in 2nd year of engineering. It is the best c language course . Thank you so much sir 😊. It is very easy to understand. Your teaching method is very good . Once again thank you sir ☺️..

    • @alamgeershekh6262
      @alamgeershekh6262 ปีที่แล้ว

      C to 1st year me hai naa?
      To aap 2nd year me kyu sikh rhe ho?

  • @Vijay-em4sz
    @Vijay-em4sz ปีที่แล้ว +4

    3:59:02 mazaa agaya sir

  • @abhisheksrivastava4236
    @abhisheksrivastava4236 6 หลายเดือนก่อน +2

    Sir HW question at 1:07:13 dummy for loop -> value of i will be 49 -> answer will be 49.

  • @amitgond07
    @amitgond07 ปีที่แล้ว +6

    Sir please provide notes for this lecture ❤❤.

  • @AbhiSingh-fd1od
    @AbhiSingh-fd1od 9 หลายเดือนก่อน

    maza aa gaya..thank you Ragav Sir😊😊

  • @mq4950
    @mq4950 2 ปีที่แล้ว +8

    1:07 output is 49

    • @ridhic6373
      @ridhic6373 ปีที่แล้ว +1

      i am also getting the output as 49

    • @ILoveyou-vr3bt
      @ILoveyou-vr3bt ปีที่แล้ว

      yes 49 is output

    • @mohitgupta7346
      @mohitgupta7346 ปีที่แล้ว

      Yupp bruh Ur right 💯

    • @teamsynum9986
      @teamsynum9986 5 หลายเดือนก่อน

      BRUH DOES HE COVERED DSA IN THIS SERIES

  • @ananyieie
    @ananyieie ปีที่แล้ว +2

    Sir college mein padhaya gaya kuch samajh nahi aata, I just watch your lectures and I am able to perform well in my exam only because of you , Thanks a lot sir🙏🙏

  • @VanshSinghal_7088
    @VanshSinghal_7088 2 หลายเดือนก่อน +3

    MAZA AAGYA
    AGR ARRAY INPUT KRKE KRVATE TABH TO ORGASM HI AAJATA

  • @parthg9828
    @parthg9828 ปีที่แล้ว +1

    1:03:44 there is a mistake even if there is a ; at the end of the for loop the loop will run just the thing is that the loop will not have any body so because the loop will run completely so it it will make the change the value of i from 0 to 48 and at the end of loop the value of will be 49 to break the loop so the final value that will be the output is 49 not 0

  • @sundramkumar4871
    @sundramkumar4871 ปีที่แล้ว +8

    Sir please provide this class notes 🙏

  • @shauryasrivastava7359
    @shauryasrivastava7359 6 หลายเดือนก่อน

    sir , i have no words to thank you
    you are great sir😇

  • @anuragkushwaha1707
    @anuragkushwaha1707 2 ปีที่แล้ว +9

    Please upload notes of this class.

  • @Kingsingh-sh9el
    @Kingsingh-sh9el 15 วันที่ผ่านมา

    2:15:14 Here we can first arrange the array in ascending order and then print the second last element!