Compound Types in C++ (References)

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

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

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

    Neso Academy is not just a TH-cam 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...