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

Поділитися
Вставка
  • Опубліковано 6 лют 2025
  • 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 4 роки тому +19

    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.

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

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

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

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

  • @SmartProgramming
    @SmartProgramming 6 років тому +2

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

  • @saifalishaikh7601
    @saifalishaikh7601 7 років тому +75

    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:ua-cam.com/video/BfAJkKDHTQk/v-deo.html");

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

      @@Horodgamin haha ha

  • @velveetawalker8030
    @velveetawalker8030 5 років тому +6

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

  • @jacksonbodra6450
    @jacksonbodra6450 6 років тому +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. "

  • @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.

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

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

  • @goyaldeekshant
    @goyaldeekshant 4 роки тому +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);
    }

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

    you teach so nicely and calmly :)

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

    Nice , evrything is clear and explained slowly👍👍

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

    U r teaching is quite calm and understandable sir

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

    Best explanation that I had ever seen before.

  • @chaithranayak7830
    @chaithranayak7830 5 років тому +2

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

  • @summit_9992
    @summit_9992 5 років тому

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

  • @bijay-x3v
    @bijay-x3v 3 роки тому

    thanks a lot sir i need teacher like you

  • @g.keerthig.keerthi1199
    @g.keerthig.keerthi1199 2 роки тому

    Your a great teacher sir

  • @gorrepatimadhu6025
    @gorrepatimadhu6025 5 років тому

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

  • @prudhvibotta7097
    @prudhvibotta7097 7 років тому +4

    sir ur explaination so clear.thank u so much sir

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

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

  • @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.

  • @searcheverything949
    @searcheverything949 6 років тому +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.

  • @akumarthibalu5592
    @akumarthibalu5592 6 років тому +2

    Thanks for your clear explanation 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

  • @pranabkhandual5687
    @pranabkhandual5687 2 місяці тому

    theres a jugaad method ive thought (many people have):-
    Program for sum of individual digits in a number, just instead of adding the last digit, print the last digit, remove the last digit , repeat till digit > 0

  • @06-sidharthsingh35
    @06-sidharthsingh35 4 роки тому +2

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

  • @jahnabisharma6070
    @jahnabisharma6070 7 років тому +1

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

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

    Wonderfully explained, Thank you very much ❤

  • @arvindkumar-yw6xg
    @arvindkumar-yw6xg 6 років тому

    Superb and excellent teaching sir

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

    Very nice. Teaching method is good

  • @anandprince7515
    @anandprince7515 6 років тому

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

  • @06-sidharthsingh35
    @06-sidharthsingh35 4 роки тому

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

  • @nishantsaurabh1947
    @nishantsaurabh1947 5 років тому +1

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

  • @786goldenstep
    @786goldenstep 5 років тому

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

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

    Please make a video on preprocessor directives

  • @anuvarshini8061
    @anuvarshini8061 7 років тому +1

    Superb explanation sir, made it pretty simple

  • @prabhavsrivastava2629
    @prabhavsrivastava2629 5 років тому +6

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

  • @raychasreenooka2394
    @raychasreenooka2394 5 років тому

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

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

    Thanks for this very helpful tutorial.

  • @sureshghanteppagol9522
    @sureshghanteppagol9522 6 років тому +1

    Thank you sir.. Explained clearly.

  • @shrinivasmedidar8947
    @shrinivasmedidar8947 6 років тому

    Thank you sir you are teaching easy method

  • @Jojo-hn9ys
    @Jojo-hn9ys 2 роки тому

    Thanks soo much...this video is great!

  • @jiteshpatro6017
    @jiteshpatro6017 7 років тому +1

    A great way of explanation

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

    Reverse a number concept is mainly used to dolve palindrome problems

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

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

  • @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..

  • @varalakshmivalluri5829
    @varalakshmivalluri5829 5 років тому

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

  • @dhruvshah8121
    @dhruvshah8121 5 років тому

    Thank you so much sir it helped me a Lot

  • @anirudhmadri2628
    @anirudhmadri2628 5 років тому

    Thank you i understood very well

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

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

  • @imdadurrahman8536
    @imdadurrahman8536 6 років тому

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

  • @jithinwilfred8633
    @jithinwilfred8633 6 років тому +1

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

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

    You are the best sir❤️

  • @yardenperets
    @yardenperets 5 років тому

    thanks you helped me a lot

  • @DIOS-dv9zl
    @DIOS-dv9zl 5 років тому +1

    thank you sir for giving us such good educational videos

  • @vaibhavseth4021
    @vaibhavseth4021 7 років тому +1

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

  • @funkafan1338
    @funkafan1338 6 років тому

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

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

    Helpful sir 🙏🏻

  • @hemabatidehuri3348
    @hemabatidehuri3348 6 років тому

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

  • @ramanjeetkaur833
    @ramanjeetkaur833 6 років тому

    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.

  • @sivasaikolluru334
    @sivasaikolluru334 6 років тому

    sir your explaination is awesome

  • @faujishivamvishwakarma___1534
    @faujishivamvishwakarma___1534 5 років тому +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...

  • @marathikatta4583
    @marathikatta4583 6 років тому

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

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

    Thank you so much sir. :)

  • @tabethh2575
    @tabethh2575 6 років тому

    EXCELLENT EXPLANATION

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

    wonderful explaination

  • @divyareddy7701
    @divyareddy7701 6 років тому +1

    Is palindrome and reversing of a number is same?

  • @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...

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

    Wow. Explained well

  • @coveritsongs600
    @coveritsongs600 5 років тому

    Shukriya guru jiiii🙏🙏🙏🙏

  • @TheShy007
    @TheShy007 6 років тому +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 5 років тому +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;

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

    You are great sir

  • @waisyousofi9139
    @waisyousofi9139 7 років тому +3

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

  • @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 4 роки тому

      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

  • @thamizharasanv5054
    @thamizharasanv5054 6 років тому

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

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

    Man you're bestt💯

  • @mariafrancis4617
    @mariafrancis4617 7 років тому +2

    Nice explanation

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

    Thanks you sir👍

  • @vijaybakshi8888
    @vijaybakshi8888 6 років тому

    very good explanation

  • @manureddy516
    @manureddy516 5 років тому

    How should we know will multply with 10 only in sum=sum*10+r statement

  • @powerfullentertainer9250
    @powerfullentertainer9250 6 років тому

    Well explained sir

  • @tapanjeetroy8266
    @tapanjeetroy8266 7 років тому +1

    thanks a lot sir...

  • @sidduteja5477
    @sidduteja5477 5 років тому

    Please tell me the code for reverse of array upto the given index and remaining elements should not be reversed

  • @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.

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

    Sir tumi fkt na n r je letter aahe na te correct aani mothe writting karat ja manje amhla kalal ki Kay karta aahe tumi

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

    love you sir your great sir

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

    Nice thanx sir🙏

  • @sirishathalluri9793
    @sirishathalluri9793 6 років тому

    Thanqqq soo much sir..

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

    Sir, Would uh please say algorithm for reversing 120..?

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

    keep it up sir

  • @ridewithuday203
    @ridewithuday203 7 років тому +2

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

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

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

  • @sagarchanyal326
    @sagarchanyal326 6 років тому +2

    # includ

  • @jahnabisharma6070
    @jahnabisharma6070 7 років тому +2

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

  • @nikhilag8354
    @nikhilag8354 6 років тому

    Sir.. Is it possible to write this pgm in if condition using go to statement

  • @sumantkumar7612
    @sumantkumar7612 6 років тому

    Best explanation

  • @harikavarma6861
    @harikavarma6861 6 років тому +1

    Really helpful