8.1 Introduction to Arrays in C++ | Guaranteed Placement Course

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • Notes of this video (Arrays): drive.google.c...

КОМЕНТАРІ • 945

  • @aniketghosh2001
    @aniketghosh2001 4 роки тому +1900

    Conclusion: Rahul is a player

    • @rahull9155
      @rahull9155 4 роки тому +157

      No, I am not🙄

    • @abhaybabbar395
      @abhaybabbar395 4 роки тому +132

      sunn meri baat, it's his choice!!😂😂

    • @cannonbolt2595
      @cannonbolt2595 4 роки тому +37

      @@rahull9155 You are impostor

    • @cannonbolt2595
      @cannonbolt2595 4 роки тому +17

      @@tech_wizard9315 rahul looks sus

    • @Krishnaaa34
      @Krishnaaa34 4 роки тому +6

      Are😆😆😆😂😂😂😂😂

  • @AbhishekKumar-ck3sd
    @AbhishekKumar-ck3sd 3 роки тому +52

    I like the confidence she has when she deliver the lectures..

  • @snehilsinha4689
    @snehilsinha4689 4 роки тому +98

    bhaiya ek suggestion hai.
    Har week ke end me ek doubt session related to this course livestream kar dijiye.
    jisko jisko ye chahiye like karo.

    • @otm_empire
      @otm_empire 4 роки тому +3

      tu rk kaam kar free me bhai ki jaydad bhi maangle

    • @potatowithginger
      @potatowithginger 4 роки тому +4

      @@otm_empire mtlb koi ab kuch suggests bhi na kare?

    • @aditshah2662
      @aditshah2662 4 роки тому

      Bhai ye tera suggestion mai actually mai koi sense nahi banta bcoz bhaiya ki team mai 7 to 8 members hai aur doubts puch wale students thousands ya lakhs mai hai

    • @potatowithginger
      @potatowithginger 4 роки тому

      @kapil 9999 🤝🏻theek hai bhai

    • @potatowithginger
      @potatowithginger 4 роки тому

      glti ho gayi mafi patr likh deta hu unko

  • @aryansharma-wf8sn
    @aryansharma-wf8sn 4 роки тому +525

    Finally didi is back again 🥰🥰

    • @tarungupta5496
      @tarungupta5496 3 роки тому +4

      Bhaiya after reading this comment : Soka?

    • @vinayakmate693
      @vinayakmate693 3 роки тому +2

      Simp

    • @aryansharma-wf8sn
      @aryansharma-wf8sn 3 роки тому +3

      @@vinayakmate693 oh i almost forgot that I used to watch this course 😅😅
      Not a simp though 😂

    • @hrithikpandey1482
      @hrithikpandey1482 3 роки тому

      @@aryansharma-wf8sn wait does that mean this is not worth remembering or what?

    • @aryansharma-wf8sn
      @aryansharma-wf8sn 3 роки тому +3

      @@hrithikpandey1482 no no it is a really great course, but I just got busy in some other stuff lately so I stopped watching it

  • @arnavchandra2835
    @arnavchandra2835 10 місяців тому +6

    Taking an array from the user would mean using variable size for the array.
    If you guys are not using vs code or codeblock you will see an error where the comipiler is asking for a constant instead of n.
    So instead of using :
    int n;
    cin>>n;
    int arr[n];
    for(int i=0; i>arr[i];
    Use :
    int n;
    cin>>n;
    int *arr = new int[n];
    for(int i=0; i>arr[i];

    • @harshitsingla0001
      @harshitsingla0001 8 місяців тому +2

      Thank goodness, someone else has encountered the same issue. 😅

  • @AbhishekSingh-eo6bi
    @AbhishekSingh-eo6bi 4 роки тому +194

    When I play video and lesten the voice i be like : कहां थे आप ....😂❤️🔥👍🏻

  • @vishnudutta
    @vishnudutta 4 роки тому +109

    result :: after preparing c++ from this series You may become rahul

  • @AnkitKumarmeb
    @AnkitKumarmeb 3 роки тому +5

    she expains beautifully , i cant stop watching her video

  • @shubhamjoshi449
    @shubhamjoshi449 2 роки тому +19

    for those who are using Microsoft Visual and getting input array size error. you have to initiate dynamic array instead of static array.
    #include
    #include
    using namespace std;
    int main()
    {
    int n;
    cout > n;
    int *arr{ new int[n] };
    for (int i=0; i < n; i++)
    {
    cin >> arr[i];
    }
    for (int i=0; i < n; i++)
    {
    cout

    • @thewhitene9746
      @thewhitene9746 2 роки тому +2

      visual studio code se acha online compiler use krlo. itna janjhat he isme

    • @pravimal7729
      @pravimal7729 2 роки тому

      thanq bro i was getting the same error

    • @herohera3497
      @herohera3497 Рік тому +2

      @@thewhitene9746 chup be chuu

    • @jagjotsingh12-a98
      @jagjotsingh12-a98 Рік тому +3

      @@thewhitene9746 apni dream company me jaa kar bhi online compiler use kario

    • @princekc9600
      @princekc9600 5 місяців тому

      @@thewhitene9746 Vs code is not a compiler and you can create your own user snippets using json for different programming language

  • @examnotes-jee3184
    @examnotes-jee3184 4 роки тому +5

    Urvi Mam is lub❤️.
    Aap hi pdhte rho🙏

  • @aishwary1051
    @aishwary1051 4 роки тому +205

    Rahul is so lucky.
    He have too many girlfriends.

    • @aishwary1051
      @aishwary1051 4 роки тому +6

      Neha didn't came in this video otherwise she come in every video.
      Didi try to take Neha in next video.
      Just joking ok.

    • @_rahulsain
      @_rahulsain 4 роки тому +2

      Lol

    • @_rahulsain
      @_rahulsain 4 роки тому +3

      Has*

    • @aditshah2662
      @aditshah2662 4 роки тому +7

      @@_rahulsain rahul spotted

    • @sameerdas2468
      @sameerdas2468 3 роки тому +1

      Oh bhai maro muje maro

  • @abanerjee3704
    @abanerjee3704 4 роки тому +39

    Girls in thumbnail and examples with girlfriends always does the work for boys.....🤣🤣🤣🤣🤣🤣🤣.
    BTW great work didi....lots of love and respect for ya.

  • @piyushbhidikar4030
    @piyushbhidikar4030 4 роки тому +21

    Amazing c++ course
    Every one have to watch and learn this course 👍👍👍👍👍

  • @Pritamdaspk
    @Pritamdaspk 3 роки тому +2

    Aap hi sab video kijiye aapki aawaz dimaag ke saath saath dil ma bhi utar jaati ha ♥️

  • @surenderohri8138
    @surenderohri8138 4 роки тому +9

    I'm the first viewer💪🏻🔥... Bhaiya aapne aag lga rkhi hai...!!🔥 And thanks di aap bhott acha explain karte hoo🔥🔥💪🏻 thank you so much other team members 💪🏻🔥❤️

  • @rahultuhania901
    @rahultuhania901 10 місяців тому +3

    Today I got to understand what really ARRAY is??? Thankyou APNA COLLEGE.

  • @abhinavkumariitism
    @abhinavkumariitism Рік тому +4

    jindagi k maze to rahul le rha h... hm to bs coding sikhte hi rah jaenge🥲

  • @pranalivekhande4450
    @pranalivekhande4450 3 роки тому +1

    maine to video's aage karke dekhe kaha aane vali hai didi...finally aa gayi ,sukun mila

  • @AbhishekKumar-nz9dn
    @AbhishekKumar-nz9dn 2 роки тому +7

    Rahul name is wrong , it should be ranbir Kapoor😂😂😅😅

  • @sanatandharmyogicculture700
    @sanatandharmyogicculture700 2 роки тому +59

    Awesome lecture!!
    The practice questions link isn't opening. please see.
    And also in the notes, lec 7.1 is titled as 8.1 and now 8.1 is titled as 9.1
    thanks again @Apna College

  • @aviralgupta9869
    @aviralgupta9869 4 роки тому +123

    I think we should never ask age from girls 😂😂😂

  • @goshawk554
    @goshawk554 4 роки тому +9

    We appreciate your efforts, thanks u so much

  • @jaylalakiya
    @jaylalakiya 2 роки тому +45

    Thank you for this amazing series. I am from Electrical background interested in CS/IT and this playlist helped me a lot

  • @rahul_bhatti_
    @rahul_bhatti_ 3 роки тому +71

    When U R Rahul , & U R SINGLE 🥺🥺🥺🥺
    WATCHING THIS VIDEO WILL BE A TRAUMA FOR U
    🥺🥺😂😂

  • @swayamshinde1700
    @swayamshinde1700 4 роки тому +8

    Ye rahul ko milna hai muze ek bar zindagi me😂
    Aur ye baki gfs ka bhi btana padega neha ko😂😂

  • @bapighosh1499
    @bapighosh1499 4 роки тому +42

    "...aur usme daal do uske.. age !!"😂
    (0.10 to 0.13 sec)
    BTW Thank you so much for this type of consistency. Carry on. ❤

  • @RedMaskedReaper
    @RedMaskedReaper 3 роки тому +4

    Disclaimer: Rahul was not harmed in making this video

  • @sunitakumawat5837
    @sunitakumawat5837 3 роки тому +19

    Thank you so much Dii❤️ Ur way of explaintion is really great ❤️

    • @adityabhamare__
      @adityabhamare__ 2 роки тому

      Love ❤️day ☀️ assi 8️⃣0️⃣ hazaa 💸💸ke🙈🤘🏻shoes 👟👟🔥hai😘💔asssi✌🏻hazaar💲🤑💰ke😥🤲🏻teraa😭👀ghar🏠🏡jaayenga🤣😹ismee😜🏃🏻‍♀️tera 👈🏻ghar😙😂isme😜🤣chale🏃🏻‍♀️🤙🏻jaayennga😡👌🏻👈🏻poora🤯🙌🏻shoesss👟👟dekhh👀🤲🏻

  • @karmbehikarojokarnahefalla5450
    @karmbehikarojokarnahefalla5450 2 роки тому +5

    thanks a lot for this quality of course .
    god bless you and all the team.

  • @ritikshrivastava9442
    @ritikshrivastava9442 3 роки тому +11

    thanks a lot
    as compared to two bhaiya in previous 2 videos you're far better then those bhaiya and explain the concept very easily
    they may be good programmers but teaching to others is a different thing and i think you're pretty good on it.

  • @vandana6166
    @vandana6166 3 роки тому +25

    the explanations seem a little rushed, Like the reasons for doing certain steps are not explained clearly which makes it hard for beginners like me to understand. other than that I Love this series, it has helped me so much!!! thank you!

    • @basabsaha6370
      @basabsaha6370 2 роки тому +1

      Upto which video should i watch if my motive is to learn only the essentials of ds algo...not competitive Programing??..

    • @kashishlakhara7410
      @kashishlakhara7410 2 роки тому

      @@basabsaha6370 cp ke lectures to abhi upload hi nahi hue and mujhe nahi lagta ki aage kabhi upload honge

  • @farazcs7765
    @farazcs7765 2 роки тому +1

    I need this question answer any one pls help me. But do not use pointers and Oops concepts. Pls
    Write a c++ program that allows the user to enter the names of five candidates in a local election and the number of votes received by each candidate. The program should then output each candidate’s name, the number of votes received, and the percentage of the total votes received by the candidate. Use functions for calculating the total votes, the percentage of votes received by each candidate, and the function to find the indexes of the top 3 maximum votes received.
    Your program should also output the top three candidates of the election.
    An example output is given below:
    Candidate Votes Received % of Total Votes
    Johnson 5000 25.91
    Miller 4000 20.73
    Duffy 6000 31.09
    Robinson 2500 12.95
    Ashtony 1800 9.33
    Total 19300
    Position 1: Duffy with 6000 votes
    Position 2: Johnson with 5000 votes
    Position 3: Miller with 4000 votes

  • @1Graceful-Glides.
    @1Graceful-Glides. 4 роки тому +17

    Web development ka course kab aayega
    😁

  • @himanshuranjan8344
    @himanshuranjan8344 4 роки тому +3

    Thank you Apna college team... for such a great work... 😊😊❤️

  • @closetonature8813
    @closetonature8813 4 роки тому +14

    please explain i cant understand why we have taken maxNo=INT_MIN
    and minNo=INT_MAX

    • @sharansasikumar5127
      @sharansasikumar5127 4 роки тому +7

      when we take maxNo=INT_MIN, we are assigning the variable maxNo with the lowest possible value in c++. So now, any value from the array will be greater than this value, and will simply get assigned first. So maxNo will never be equal to INT_MIN. And for each element in the array, we are going to check if it is greater than the current maxNO value or not, and if it is, maxNo then gets updated.

    • @ranjeet5806
      @ranjeet5806 4 роки тому

      @@sharansasikumar5127 bhai he's talking about the logic behind assigning int Minno=INT_MAX.

    • @ranjeet5806
      @ranjeet5806 4 роки тому

      bhai intialise both of em with zero. and age jaake toh seekh hi jayenge insa b ke logic

    • @Biliphang088
      @Biliphang088 4 роки тому +2

      Bro the logic behind it is..
      int maxNo = INT_MIN
      int minNo = INT_MAX
      You know na, there is a inbuilt function max and min.
      so maxNo = max(arr[i],maxNo) . Here arr[i] should be greatest.
      and in int maxNo ,the number to be stored should be the smallest .
      So int_min is stored in maxNo because its the min .
      So if we compare max(arr[i],maxNo), here maxNo is smaller than arr[i]..
      and max function finds the greatest number bewteen this.
      arr[i] > maxNO;
      So arr[i] is printed in max ..
      Similarly reverse it in min function. You will get the answer.
      Just sit for 2mins and think it logically.
      hope it is useful.

    • @s.k.g5544
      @s.k.g5544 3 роки тому

      @@Biliphang088 bhai tera 2nd para dekh wo bas if statement ko khatam karne ke lie h to uska isse koi logic nahi h.
      #important for all
      Sunna dd ne kya bola h, int_min aur int_max ke bare me (jab wo if statement likhi thi) maximum pane ke lie agar int_min agar kisi se choto hoga to wah update hoga(read again) mtlb wo aage badh jaega or aage chek karega min se max jane ke lie usi tarah iska ulta dekh sab samjh me aajaega

  • @PrithaMajumder
    @PrithaMajumder Рік тому +2

    Thank You So Much Apna College for this amazing lecture 😊

  • @shivammaurya3451
    @shivammaurya3451 4 роки тому +7

    Thank u bhaia and mam ur explanation is of next level with best example it make easy to understand 😃❤🖤

  • @akshatdwivedi530
    @akshatdwivedi530 3 роки тому +1

    Your teaching style is best plus your voice

  • @Ji-yoon
    @Ji-yoon 4 роки тому +64

    Nice video !! But the practice questions given in the notes are not clickable. So, please look into that.

    • @ApnaCollegeOfficial
      @ApnaCollegeOfficial  4 роки тому +37

      Okay

    • @himanshuchawhan6625
      @himanshuchawhan6625 4 роки тому +5

      Yes you are right

    • @himanshuchawhan6625
      @himanshuchawhan6625 4 роки тому +6

      @@ApnaCollegeOfficial now also I am unable to access the questions

    • @abhayagarwal322
      @abhayagarwal322 3 роки тому +2

      Link of given questions is not accessible till now plz once check it @Apna college

    • @rishabhprasad8333
      @rishabhprasad8333 3 роки тому +3

      Yaa! Just Google the lines given in the PDF in blue colour. You'll get the questions of LEET Code.

  • @ikrishi_
    @ikrishi_ Рік тому +2

    I'm from AHSEC board
    Book : computer science and application by Dr. Diganta Das
    Q. Can I use other header file as the climits header file wasn't use in there and in practical they use turbo c++..? recommed me alternative header file please !!

  • @ripudhman1891
    @ripudhman1891 4 роки тому +12

    Rahul ke girlfriends 🤣🤣🤣🤣

  • @ramankr0022
    @ramankr0022 2 роки тому +1

    very helpful videom thank u for the hard work for us, which is helping me and lakhs of students. very fortunate to recieve videos for no price. i would like to contribute back to apna college

  • @sachinbairi6353
    @sachinbairi6353 3 роки тому +32

    Rahul Be like My name is Rahul.....aka Womanizer 🤣🤦‍♀️

  • @sarthaksinghrajput5462
    @sarthaksinghrajput5462 3 роки тому +1

    Damn...!!!!! This Rahul fella is some real thing...

  • @CricketLover-kc6ln
    @CricketLover-kc6ln 4 роки тому +26

    Consistency 🔥🔥🔥🔥

  • @Yash-wf5lg
    @Yash-wf5lg 3 роки тому +1

    We can give maxno=array[0] and minno=array[0] ans then
    For(int i=1, i

  • @rajshekhar1900
    @rajshekhar1900 3 роки тому +4

    I would love to volunteer to make captions for these great videos jo pan India ke liye helpful hoga so please switch it on

  • @awaisishfaq1193
    @awaisishfaq1193 Рік тому

    YOU INDIAN GUYS ARE MUCH MORE BETTER THEN MY UNI TEACHERS

  • @sourishdutta0999
    @sourishdutta0999 3 роки тому +4

    *Answer* of practice question 2 i.e. GIVEN IN THE NOTES
    #include
    using namespace std;
    int main() {
    int kids,i, maximum=0;
    coutkids;
    string NameOfKids[kids];
    int CandyOfKids[kids];
    cout

  • @SurajKumar-qj3we
    @SurajKumar-qj3we 3 роки тому +1

    Practice Question 2 : kid with the greatest no. of candies........(assuming the kid numbering starts from 1)
    #include
    using namespace std;
    //kid with max number of candies
    int maxcandy(int demoarray[], int n){
    int maxi=demoarray[0];
    for(int i=0; i

  • @geetaliification
    @geetaliification 3 роки тому +18

    Isn't array memory allocated at compile time? How's your array getting created based on user input?

    • @mumairnoor2398
      @mumairnoor2398 2 роки тому

      well you got a point

    • @shreyashjoshi8489
      @shreyashjoshi8489 2 роки тому

      @@mumairnoor2398 Its dynamic allocation
      Generally when we do not know what *will* be the size of array we use dynamic allocation

    • @mumairnoor2398
      @mumairnoor2398 2 роки тому

      @@shreyashjoshi8489 well i fid almost the same
      but when runing the code it just kept on stop working as my code was crashed

  • @bristiroy8504
    @bristiroy8504 3 роки тому +2

    great work Aman Dhattarwal .after all he is paying the faculty from his own pocket.......imparting free education to all

  • @NishantSingh-br6iu
    @NishantSingh-br6iu 4 роки тому +8

    Rahul : Naam to suna hoga he he he😂

  • @mintukumar986
    @mintukumar986 2 роки тому +1

    I like the way you teach us.

  • @glitched_matrix44
    @glitched_matrix44 4 роки тому +3

    Thanks Bhaiya... and Please upload the notes of Time Complexity

  • @rahulrai7626
    @rahulrai7626 4 роки тому +5

    Jitne log padha re unki pics ke saath achievement bhi dikhado bhaiya hamlog to sirf aman bhaiya ko jante hai baaki log ke( naam + achievement) taaki assure hoke padhe hamlog

    • @rahulrai7626
      @rahulrai7626 4 роки тому +2

      Aur ha usse yeh bhi pta chal jayega ki vo log eligible hai ki nai hai....🙏🙏 Plzzz

    • @harshulagarwal1755
      @harshulagarwal1755 4 роки тому

      @@rahulrai7626 bhai padhaati toh accha hai na did bas aur kya chahiye. Suppose if kee agar koi banda tujhe padha rha hai tu uski teaching skills dekhega ya pehle usse achievements khulwaayega and 10th 12 th kee mark sheet, Bhai agar tum 95% waale hee ho toh hee tum accha padahte ho. Bhai did is teaching good and thats what we need and koi kyun jhooth bolega job ke baare mein

    • @rahulrai7626
      @rahulrai7626 4 роки тому

      @@harshulagarwal1755 bhai vo curiosity bahut hai isiliye puche 😅😅 padha to bahut achaa ri di bss face dekhna hai n achievement jaana hai ki kaun hai kaise mehnat ki kaise utni achi job mili puri detail ache se janani hai bss padha to bahut acha ri hai no doubt lekin kuch log hote hai na jinhe jaana rhhta to vo log mai hi hu😅😅

    • @rahulrai7626
      @rahulrai7626 4 роки тому

      @@harshulagarwal1755 maine janbujhke aisa likha hai taaki bhaiya reveal krree

  • @gouryarman995
    @gouryarman995 2 роки тому +1

    Moj krdi Rahul bhaiya aapne to😂😂

  • @mdnawazishahmad2056
    @mdnawazishahmad2056 2 роки тому

    the two of the teachers before this video ohhh my god they are annoying thank god you came back...

  • @deepaklavate4165
    @deepaklavate4165 3 роки тому +5

    Efforts appreciated ❤❤

  • @manga12298
    @manga12298 2 роки тому +2

    #include
    using namespace std;
    int main (){
    int a ;
    int sun = 0;
    cin >> a;
    int array[a];
    for(int i = 0; i < a ; i++){
    cin >> array[i] ;
    }
    for(int n = 0; n < a ; n++){
    sun += array[n];
    }
    cout

  • @prashantsahu5274
    @prashantsahu5274 3 роки тому +8

    so in the practice question 2 , do we need to find the max number of candies among the entered candies or the kid with the max candies

    • @SurajKumar-qj3we
      @SurajKumar-qj3we 3 роки тому

      i think they are talking about the kid with the max number of candies.......anyway do them both.......

  • @lfcpratiksharma105
    @lfcpratiksharma105 4 роки тому +1

    Bhia ek suggestions in video ke sath thode questions bhi add kar dia karo video discription mei practice karne ke liye👍

  • @rohansinghjr1195
    @rohansinghjr1195 3 роки тому +7

    // we can initialize min and max with the first element and start the loop from 1 (current me if I am wrong here, thanks in advance)
    private static void mainAndMaxInArray(int[] arr) {
    int min = arr[0], max = arr[0];
    for (int i = 1; i < arr.length; i++) {
    if (min > arr[i]) {
    min = arr[i];
    }else if(max < arr[i]){
    max = arr[i];
    }
    }
    System.out.println(max +"::::"+ min);
    }

  • @abhigyansharma9108
    @abhigyansharma9108 3 роки тому +1

    Bhot pyara pdhate ho yaar aaap

  • @ajaykiran6
    @ajaykiran6 3 роки тому +8

    Thank you.
    edit : bas ek chota sa doubt tha.....maine jab C programming mai array declare karna seekha tha to usme hame pehle hi array size batani padti thi, so is this a new feature that C++ has in which we can get the size of the array from the user during runtime without using malloc and stuff?

  • @gracysingh9995
    @gracysingh9995 3 роки тому +1

    ur code is working cuz terminal ke side me, powershhell, code,... array is coming. In my laptop, only 1. powershell and 2.code is there. how to fix this

  • @vibhashkumar5554
    @vibhashkumar5554 4 роки тому +4

    0:16 Rahul is very lucky😁😁😁😁😁😁😁

  • @anubhabsamanta8532
    @anubhabsamanta8532 4 роки тому

    Maaza aa gya.
    Dumdaar khiladi meh Array ka definition yaad aa gya😂😂.

  • @yevs99
    @yevs99 3 роки тому +4

    Didi ur explaination level is great
    thanks that u come again in this playlist

  • @SUJOYPAULJOBS
    @SUJOYPAULJOBS 4 роки тому +1

    thank you mam .you are good teacher for guide c++...

  • @soumojitchowdhury151
    @soumojitchowdhury151 3 роки тому +2

    Finally urvi di is back

  • @sachinbairi6353
    @sachinbairi6353 3 роки тому +7

    After this, I think Rahul is the reason why most of us are Single 😂😒

    • @CleanDevelop
      @CleanDevelop 3 роки тому

      pdhai pr dhyan de tu

    • @sachinbairi6353
      @sachinbairi6353 3 роки тому

      @@CleanDevelopYee jo tu kar raha haina usko timepass bolte hai tu jaake kar padhai

  • @vedantparatkar7266
    @vedantparatkar7266 3 роки тому

    best teacher for c++,please jaldi se video daliyo

  • @Abhisheksharma-fs6qc
    @Abhisheksharma-fs6qc 4 роки тому +6

    In love with girls voice ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️

  • @tusharkumar9511
    @tusharkumar9511 4 роки тому +2

    bhaiya pichle do lecture ke notes update kardo telegram channel pe

  • @shahnoorraza8514
    @shahnoorraza8514 3 роки тому +5

    Isn't that a bad practice to initialize Static Arrays with a variable(like 'n' in this case) because Static arrays have to be initialized with a Constant Value? Clang and MingW may allow u to do that but if you try to do this on Microsoft Visual C++ that will throw a Compilation Error and Program Crashes.
    The Error is stated as:
    *expression must have a constant value -- the value of variable "n" (declared at line 5) cannot be used as a constantC/C++(28)*

    • @adityab1277
      @adityab1277 3 роки тому +1

      Lmfao,I'm getting the same issue

    • @shahnoorraza8514
      @shahnoorraza8514 3 роки тому

      Dynamic Arrays is solution to initialize an Array with the Size that user inputs.

    • @adityab1277
      @adityab1277 3 роки тому +1

      @@shahnoorraza8514 yep

    • @adityab1277
      @adityab1277 3 роки тому +1

      @@shahnoorraza8514 Thanks bro

    • @shahnoorraza8514
      @shahnoorraza8514 3 роки тому

      @@adityab1277 Welcome

  • @nihal4840
    @nihal4840 3 роки тому

    didi best ... GOAT .. good of all time teacher

  • @Goldy_Kumar_
    @Goldy_Kumar_ 3 роки тому +6

    9:48
    Instead of assigning INT_MIN to maxNo and INT_MAX to minNo, We should assign arr[0] to both of them as we are comparing the elements of array only

    • @sanemakshaykumar2817
      @sanemakshaykumar2817 2 роки тому

      I can't understand the logic of Int min and Max can u please explain in English

    • @neerajkumar6101
      @neerajkumar6101 2 роки тому

      Mene dono logic se bana liya😅😅

  • @barbarik3797
    @barbarik3797 2 роки тому

    Rahul ka bahaut sahi hai!

  • @specsboy6610
    @specsboy6610 4 роки тому +8

    Perfectly explained

  • @ranjeet5806
    @ranjeet5806 4 роки тому

    thank you bhaiya and didi(speaker).
    much much love to both of you.

  • @Manish-zl9jh
    @Manish-zl9jh 3 роки тому +4

    6:28 Fir Arnub chacha bolenge mujhe drugs de 🌚🦆

  • @arindammaiti4965
    @arindammaiti4965 3 роки тому

    finally did is back........................
    i like the way of teaching of didi, just i feel like my real didi is teaching me

  • @gopuu
    @gopuu 3 роки тому +5

    The reason most of us are single: Rahul xD

  • @govindkandale6491
    @govindkandale6491 3 роки тому

    YRVI MAAM IS BACK .....NOW IT WILL BE FUN

  • @gifstube5949
    @gifstube5949 3 роки тому +3

    0:17 RAHUL THE PLAYBOY 😂😂

  • @soumyadeepchatterjee1041
    @soumyadeepchatterjee1041 3 роки тому +1

    Giving an error in VS CODE BUT NOT IN CODE BLOCKS:
    expression must have a constant value -- the value of variable "n" (declared at line 6) cannot be used as a constantC/C++(28)
    #include
    using namespace std;
    int main()
    {
    int n;
    coutn;
    coutarray[i];
    }
    //ARRAY OUTPUT
    cout

  • @magjoy_6
    @magjoy_6 3 роки тому +4

    URVI didi ❤️❤️🔥🔥

  • @pratid8949
    @pratid8949 3 роки тому +1

    Aman bhaiya....Outer cover me KPOP pose😁

  • @anujpoudel
    @anujpoudel 3 роки тому +4

    MY APROACH FOR MIN MAX PROBLEM:
    int main(){
    int n, min, max;
    cout> n;
    int ages[n];
    for (int i = 0; i < n; i++){
    cin>> ages[i];
    }
    min = ages[0];
    max = ages[0];
    for (int i = 1; i < n; i++){
    if(max < ages[i]){
    max = ages[i];
    }
    else{
    if (min > ages[i]){
    min = ages[i];
    }
    }
    }
    cout

    • @deepakkansal9112
      @deepakkansal9112 2 роки тому +1

      you could've made a function for finding the max and the min value
      🥰

    • @anujpoudel
      @anujpoudel 2 роки тому

      well there is already min() and max () function so that's also not needed.

  • @findout4553
    @findout4553 3 роки тому +2

    Conclusion :Rahul is not a enginner

  • @prathambharti2462
    @prathambharti2462 3 роки тому +5

    Kyu jala pr namk chidak rhe ho
    Meri ek bhi girlfriend nhi h😭😭

  • @jaun-elia789
    @jaun-elia789 8 місяців тому +1

    Nice ma'am 😊😊 very useful videos

  • @piyushbhidikar4030
    @piyushbhidikar4030 4 роки тому +4

    Thumbnail mai Aman bhaiya 3 girls ko aankh maar rahe hai😁😁

  • @Acoustic_Ankur81
    @Acoustic_Ankur81 2 роки тому +2

    rahul kon hai is he a part of your team 😂😂

  • @imadgan6455
    @imadgan6455 4 роки тому +4

    ye neha wali chiz dhattarwal bhaia ka copyright hai😂😂😂

  • @raregem7995
    @raregem7995 2 роки тому +2

    Please explain somebody INT_MAX & INT_MIN used in the question to find minimum and maximum integer in the given array...

  • @sonukumarpandit9731
    @sonukumarpandit9731 4 роки тому +4

    waiting for you mam to come and teach?

  • @ShubhamKumar-pv8pj
    @ShubhamKumar-pv8pj 3 роки тому +1

    Link given in PDF notes i.e practice question not work

  • @rahulbera5552
    @rahulbera5552 3 роки тому +3

    I'm Rahul
    And I'm single
    Yes we exists..