Reverse Number Program in C | C Language Tutorial | Mr. Srinivas

Поделиться
HTML-код
  • Опубликовано: 20 авг 2024
  • Reverse Number Program in C
    C Language Tutorial Videos
    ** For Online Training Registration: goo.gl/r6kJbB ? Call: +91-8179191999
    ? Visit Our Website for Classroom Training:
    nareshit.in/c-...
    ? For Online Training:
    nareshit.com/c...
    --------------------------
    ? About NareshIT:
    "Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA ,Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA,Hyderabad, Chennai and Vijayawada,Bangalore India which provides online training across all the locations
    --------------------------
    ? Our Online Training Features:
    1.Training with Real-Time Experts
    2.Industry Specific Scenario’s
    3.Flexible Timings
    4.Soft Copy of Material
    5. Share Videos of each and every session.
    --------------------------
    Please write back to us at us.training@nareshit.com/online@nareshit.com or Call us at USA:
    +1404-232-9879 or India: +918179191999
    * Check The Below Links*
    ? For Course Reg: goo.gl/r6kJbB
    ? Subscribe to Our Channel: goo.gl/q9ozyG
    ? Circle us on G+: plus.google.co...
    ? Like us on Facebook: / nareshit
    ? Follow us on Twitter: / nareshitech
    ? Follow us on Linkedin:
    / naresh-i-technologies
    ? Follow us on Instagram: / nareshitech

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

  • @NareshIT
    @NareshIT  5 лет назад +22

    Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL

    • @pathivadapriyanka4583
      @pathivadapriyanka4583 3 года назад +2

      Which app is useful for programs in phone ?

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

      Hi, I love the way you explain things so clearly! It's truly good work. What happens when you have a zero at the beginning or at the end of the number you want to reverse? I would appreciate if you could make a video of this "improved reverse number formula." I found some solutions to that problem on the internet, but none really explains step by step how to get the expected result.

  • @BENAZEERNILOFARA
    @BENAZEERNILOFARA 4 года назад +47

    great teachers explain harder things easily.i learned through this video.

  • @2informationhub
    @2informationhub 3 года назад +18

    After watching more than 4 videos, I felt like I had subscribe.
    The explanation is out of the world.
    Thank you very much. Your contents are polishing so many future developers like me.

  • @saifalishaikh7601
    @saifalishaikh7601 6 лет назад +73

    printf("the excellent tutorial i got till now.....WORTH IT......thanks");

    • @Horodgamin
      @Horodgamin 4 года назад +3

      printf(Check this out - Alternate explanation for all 32 bit integers:ruclips.net/video/BfAJkKDHTQk/видео.html");

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

      @@Horodgamin haha ha

  • @nandiniagarwal9552
    @nandiniagarwal9552 3 года назад +8

    I thought it would be very difficult, but you explained it very easily. Thankyou so much☺️

  • @sahilrawat7966
    @sahilrawat7966 2 года назад +7

    Very calming explaination 🙏,
    Now I realise that it was a piece of cake ,all thx to you sir 🙏

  • @austengreen6827
    @austengreen6827 3 года назад +5

    Nice solution but I would change your test case to != 0 if you want to also reverse negative numbers. This solution would assume that all values entered are positive. Which is fine, but incomplete for all other cases.

  • @velveetawalker8030
    @velveetawalker8030 5 лет назад +6

    I'm a beginner from the beginning. I'm struggling but really want to concur C++

  • @goyaldeekshant
    @goyaldeekshant 3 года назад +3

    Here is the complete code:
    #include
    void main()
    {
    int r,n, sum=0;
    printf("enter the value of n");
    scanf("%d",&n);
    while(n>0)
    {
    r=n%10;
    n=n/10;
    sum=sum*10+r;
    }
    printf("%d",sum);
    }

  • @SmartProgramming
    @SmartProgramming 6 лет назад +2

    sir your way of teaching is really awesome, very helpful 👍👍

  • @satishg6965
    @satishg6965 6 лет назад +7

    hii sir, I have been watching your video, it is fine and understandable when compare to others, but I have a doubt, how application are built in using c language, can you please show us a example on building application using c.

  • @jacksonbodra6450
    @jacksonbodra6450 5 лет назад +3

    Actually i am trying to improve my logic skills in php. I have to say " wow what a reverse sir. thank you very much. "

  • @prudhvibotta7097
    @prudhvibotta7097 7 лет назад +4

    sir ur explaination so clear.thank u so much sir

  • @josephpiouskowura3461
    @josephpiouskowura3461 5 лет назад +8

    Best of all ,but next time after explaining on the board ,do it on a computer as well is very helpful

  • @pujanepal3950
    @pujanepal3950 3 года назад +2

    you teach so nicely and calmly :)

  • @chaithranayak7830
    @chaithranayak7830 5 лет назад +2

    Thank you so much sir.your explanation is very easy to understand.🙏

  • @rdxgaurav3483
    @rdxgaurav3483 4 года назад +1

    Nice , evrything is clear and explained slowly👍👍

  • @06-sidharthsingh35
    @06-sidharthsingh35 3 года назад +2

    We need more concepts like this in another question sir..!

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

    Best explanation that I had ever seen before.

  • @monikaborana7077
    @monikaborana7077 3 года назад +5

    Sir this logic fails when we want to reverse numbers like 3500 then the output is 53 only, it should print 00 as well.

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

      Then we can use printf directly instead of sum.
      Like after r=n%10;
      printf("rev is %d",r);
      n=n/10;

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

      @@harshtalware7831 yes you're right.

  • @jahnabisharma6070
    @jahnabisharma6070 7 лет назад +1

    your teaching mathod is so well dat I got it too easily..thank you...

  • @narasimhamohanb9175
    @narasimhamohanb9175 4 года назад

    U r teaching is quite calm and understandable sir

  • @searcheverything949
    @searcheverything949 5 лет назад +1

    your explanation is superb sir..thank you,,,...thank you so much sir.
    i had tried alot to understand but this trime i got it sir..thank you..thanks a lot.

  • @prabhavsrivastava2629
    @prabhavsrivastava2629 5 лет назад +6

    You explained this so well :') thanks alot sir 💯

  • @akumarthibalu5592
    @akumarthibalu5592 5 лет назад +2

    Thanks for your clear explanation sir

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

    Superb superb superb ❣️❣️❣️❣️ very very good sir your teaching very easy logics for programs hats up you sir nice job

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

    Reverse a number concept is mainly used to dolve palindrome problems

  • @summit_9992
    @summit_9992 5 лет назад

    You are a savior for many high school computer science students.

  • @DM-GM19
    @DM-GM19 4 года назад

    Superb,Naresh itechnolgies..
    U make the logic look so so simple

  • @g.keerthig.keerthi1199
    @g.keerthig.keerthi1199 2 года назад

    Your a great teacher sir

  • @gorrepatimadhu6025
    @gorrepatimadhu6025 4 года назад

    U r my guru in c program ubdoubtedly...👍👌👌👌sir my advice is show execution in computer...

  • @anuvarshini8061
    @anuvarshini8061 6 лет назад +1

    Superb explanation sir, made it pretty simple

  • @anandprince7515
    @anandprince7515 5 лет назад

    Super sir...I understood the logic easily....simply you are fantastic...

  • @vaishnavihande3626
    @vaishnavihande3626 4 года назад +2

    I can request you please make some programm on function in GCD of two numbers using function
    ... Thanku so much sir..

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

    Wonderfully explained, Thank you very much ❤

  • @sureshghanteppagol9522
    @sureshghanteppagol9522 5 лет назад +1

    Thank you sir.. Explained clearly.

  • @-wh5ml
    @-wh5ml 3 года назад

    thanks a lot sir i need teacher like you

  • @sudhanwapande6857
    @sudhanwapande6857 4 года назад

    while(n!=0)
    {
    a=n%10;
    cout

  • @vaibhavseth4021
    @vaibhavseth4021 6 лет назад +1

    awesome videos... good explanation....nyc sounds.. thankuu sir

  • @aryanani7250
    @aryanani7250 7 лет назад +2

    Greeting sir...
    U have done a great job...thank u so much for the help
    thank u for the Naresh IT and Mr.Srinivas...
    And my doubt is in the printing patterns i wanted u tell the logic and explain the pascals triangle in the easiest and simple way........
    waiting for ur reply...

  • @jiteshpatro6017
    @jiteshpatro6017 6 лет назад +1

    A great way of explanation

  • @Shyam_-hk5kx
    @Shyam_-hk5kx 2 года назад

    Superb explanation sir

  • @waisyousofi9139
    @waisyousofi9139 6 лет назад +3

    thank you so much for giving these services,
    very informative video ..

  • @Jojo-hn9ys
    @Jojo-hn9ys 2 года назад

    Thanks soo much...this video is great!

  • @786goldenstep
    @786goldenstep 4 года назад

    Tq u very much sir
    Becoz
    U make me vry clear about programs with this vedio sir
    Make vedio like this only sir

  • @DIOS-dv9zl
    @DIOS-dv9zl 4 года назад +1

    thank you sir for giving us such good educational videos

  • @sagarchanyal326
    @sagarchanyal326 6 лет назад +2

    # includ

  • @jithinwilfred8633
    @jithinwilfred8633 6 лет назад +1

    Thanku sir... It helped us really well...tvm

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

    Thanks for this very helpful tutorial.

  • @arvindkumar-yw6xg
    @arvindkumar-yw6xg 6 лет назад

    Superb and excellent teaching sir

  • @06-sidharthsingh35
    @06-sidharthsingh35 3 года назад

    Thanku sir this helped me a lot.!🙏🙏🙏

  • @faujishivamvishwakarma___1534
    @faujishivamvishwakarma___1534 4 года назад +2

    If you can explain in hindi than i will understand very well
    Thank you

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

      If he explains in hindi how will we south indians understand?be considerate...

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

    Please make a video on preprocessor directives

  • @faixal4628
    @faixal4628 6 лет назад +3

    it doesnt work for 0's Eg: 10,100,540 (reverse or 10=1,reverse of 100=1,reverse of 540=45)
    any digit which contain 0 at its unit place ?

    • @aayushisingh9365
      @aayushisingh9365 5 лет назад

      its the logic for pallindrome.

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

      exactly...

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

      Then we can use printf directly instead of sum.
      Like after r=n%10;
      printf("rev is %d",r);
      n=n/10;

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

      @@harshtalware7831 tnq it helped me

  • @funkafan1338
    @funkafan1338 5 лет назад

    Sir
    Your are explained in very good ..
    Thank you...

  • @nishantsaurabh1947
    @nishantsaurabh1947 4 года назад +1

    When we can use int main and when we can use void main.. What are the difference

  • @raychasreenooka2394
    @raychasreenooka2394 4 года назад

    Super sir I understand it very well. Thanks for your video

  • @shrinivasmedidar8947
    @shrinivasmedidar8947 6 лет назад

    Thank you sir you are teaching easy method

  • @mariafrancis4617
    @mariafrancis4617 6 лет назад +2

    Nice explanation

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

    wonderful explaination

  • @dhruvshah8121
    @dhruvshah8121 4 года назад

    Thank you so much sir it helped me a Lot

  • @TheShy007
    @TheShy007 5 лет назад +1

    der is loophole in dis logic if number u entered has 0 in its units place it wont condier while reversing eg 520 will be printed 25;

    • @johnme60
      @johnme60 4 года назад +1

      this is not a loophole . reverse of 520 is actually 25, this is not a string only string contains all characters in reverse process , you can't expect 025 in result . this process is based on number system . and we all know 025 always means 25 and that's what this process return .

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

      Then we can use printf directly instead of sum.
      Like after r=n%10;
      printf("rev is %d",r);
      n=n/10;

  • @hemabatidehuri3348
    @hemabatidehuri3348 5 лет назад

    Tanx a lotttttttt.
    Am very much helpful by ur tutorial.....

  • @ridewithuday203
    @ridewithuday203 6 лет назад +2

    Nice explanation,,,,,,,,,,,

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

    Very nice. Teaching method is good

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

    Thank you sir

  • @sivasaikolluru334
    @sivasaikolluru334 5 лет назад

    sir your explaination is awesome

  • @tabethh2575
    @tabethh2575 6 лет назад

    EXCELLENT EXPLANATION

  • @imdadurrahman8536
    @imdadurrahman8536 6 лет назад

    Keep it up sir. .plz do more and more program ....and teach them all slowly ...

  • @ramanjeetkaur833
    @ramanjeetkaur833 5 лет назад

    Pls solve this . Write a function which given an integer n, returns the number of digits in the integer , for example ,given 5017,the function return 4.

  • @anirudhmadri2628
    @anirudhmadri2628 4 года назад

    Thank you i understood very well

  • @marathikatta4583
    @marathikatta4583 5 лет назад

    Very helpful video.... Thank uu sir...

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

    You are great sir

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

    Try to print reverse 100,200...etc with that logic.

  • @varalakshmivalluri5829
    @varalakshmivalluri5829 4 года назад

    Tq very much sir.But I didn't understand from while loop will you please explain me this again in detail

  • @tapanjeetroy8266
    @tapanjeetroy8266 6 лет назад +1

    thanks a lot sir...

  • @jahnabisharma6070
    @jahnabisharma6070 7 лет назад +2

    can I request you to make some vdos on fibonecc series with java programming

  • @yardenperets
    @yardenperets 4 года назад

    thanks you helped me a lot

  • @syedafzal5046
    @syedafzal5046 4 года назад

    awesome explanation sir

  • @thamizharasanv5054
    @thamizharasanv5054 5 лет назад

    Easily understandable...but if u wrote full coding,that would be better

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

    Thank you!

  • @shubhambhatt2704
    @shubhambhatt2704 3 года назад +2

    printf("thank you very much
    ");

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

    love you sir your great sir

  • @harikavarma6861
    @harikavarma6861 5 лет назад +1

    Really helpful

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

    amazing lecture sir

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

    You are the best sir❤️

  • @sailajapuppala8806
    @sailajapuppala8806 6 лет назад +1

    Thank u sir .I understood the logic easily

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

    Helpful sir 🙏🏻

  • @vijaybakshi8888
    @vijaybakshi8888 6 лет назад

    very good explanation

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

    Wow. Explained well

  • @coveritsongs600
    @coveritsongs600 4 года назад

    Shukriya guru jiiii🙏🙏🙏🙏

  • @powerfullentertainer9250
    @powerfullentertainer9250 5 лет назад

    Well explained sir

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

    Thank u Sir.

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

    Sir, suppose we have a condition,
    (The input number=X)
    1

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

    Thank you so much sir. :)

  • @divyareddy7701
    @divyareddy7701 5 лет назад +1

    Is palindrome and reversing of a number is same?

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

    Man you're bestt💯

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

    Unsigned long int > %d or %ld or %l or any other way is there? Plz tell me

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

    thankyou so much

  • @ashuashwini8775
    @ashuashwini8775 4 года назад

    With sum of individual digits and check palendrome