Compound Types in C++ (References)

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024
  • C++ Programming: Compound Types in C++ (References)
    Topics discussed:
    1. Compound Types in C++.
    2. References.
    3. Example program showing the use of references.
    4. Reference definitions.
    5. Examples showing different ways of reference definitions.
    Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
    Contribute: www.nesoacademy...
    Memberships: bit.ly/2U7YSPI
    Books: www.nesoacadem...
    Website ► www.nesoacadem...
    Forum ► forum.nesoacad...
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Music:
    Axol x Alex Skrindo - You [NCS Release]
    #CPPByNeso #CPP #CompoundTypes #References

Комментарии • 28

  • @chamal7029
    @chamal7029 3 года назад +7

    Neso Academy is not just a RUclips channel .... it is a purely academic program..such a gem🤩😍

  • @suleimanmohamedabdi4277
    @suleimanmohamedabdi4277 3 года назад +6

    I am astudent of telecom engineering university in Somalia 🇸🇴☺ really #neso academy helped me as much as I will thank you 😊🙏 you my best teacher ❤

  • @santanupradhan5017
    @santanupradhan5017 3 года назад

    We can declare constant reference to assign constant value. Like
    const int &r1=10;

  • @lukaskahare2828
    @lukaskahare2828 8 месяцев назад

    Good Channel for C++ Teaching , excellent Work

  • @anelyzakaria631
    @anelyzakaria631 3 года назад +1

    Loving these videos! Cant wait for more on C++!

  • @rajeshprajapati6662
    @rajeshprajapati6662 2 года назад +1

    08:39 ival is an object ? I thought it was a variable. Both are same or any difference ? Please let me know.

  • @asif4904
    @asif4904 3 года назад

    Sir please upload daily eagerly I am waiting for next video's

  • @mdimadullah6365
    @mdimadullah6365 3 года назад

    A lot of thanks sir keep always...

  • @dipeshsamrawat7957
    @dipeshsamrawat7957 3 года назад

    I love Neso Academy ❤️

  • @yusufmalik5860
    @yusufmalik5860 2 года назад

    very well explanaid

  • @maazsiddiqui3326
    @maazsiddiqui3326 2 года назад +1

    so it means it is impossible to do swapping using references right?

    • @rajeshprajapati6662
      @rajeshprajapati6662 2 года назад

      why ?

    • @rajeshprajapati6662
      @rajeshprajapati6662 2 года назад

      // C++ program to swap two variables using a
      // user defined swap()
      include
      int main()
      {
      int x = 1024, y = 1025;
      int &refx = x;
      int &refy = y;
      printf("
      Before Swapping: x = %d, y = %d", refx, refy);
      int temp = refx;
      refx = refy;
      refy = temp;
      printf("
      After Swapping: x = %d, y = %d", refx, refy);
      return 0;
      }

    • @rajeshprajapati6662
      @rajeshprajapati6662 2 года назад

      see above code, is it not right ? it's working fine.

    • @jagan_217
      @jagan_217 Год назад

      @@rajeshprajapati6662 here in c++ having 49 video's its complete of course??? Or is there plzz telll

    • @rajeshprajapati6662
      @rajeshprajapati6662 Год назад +1

      @@jagan_217 The course is not complete.

  • @vikrantpatel2890
    @vikrantpatel2890 3 года назад

    Please make tutorials on python also 🙏

  • @karimmuhammad7051
    @karimmuhammad7051 2 года назад

    when i declare a reference, is it a new variable in memory that has a new address or it is just a new name?

  • @MrYttips
    @MrYttips 3 года назад

    Sir pls thoda sa vs code ki screen zoom kar diya karo sir because codes are looking small

  • @luqmanmahmudobar3339
    @luqmanmahmudobar3339 3 года назад

    Sir for c++ you added your channel only 27 videos so is that means you completed this course or steel some lesson were there to upload here ?

  • @monicabattacharya6416
    @monicabattacharya6416 3 года назад

    you have stopped DBMS 1 month ago . please start that course 🙏🏼 . Don't stop it.

  • @Robot404_
    @Robot404_ 3 года назад

    Why use a reference? Why not just use the original variable instead of a copy that contains the same value...