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
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
Which app is useful for programs in phone ?
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.
great teachers explain harder things easily.i learned through this video.
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.
I thought it would be very difficult, but you explained it very easily. Thankyou so much☺️
Very calming explaination 🙏,
Now I realise that it was a piece of cake ,all thx to you sir 🙏
sir your way of teaching is really awesome, very helpful 👍👍
printf("the excellent tutorial i got till now.....WORTH IT......thanks");
printf(Check this out - Alternate explanation for all 32 bit integers:ua-cam.com/video/BfAJkKDHTQk/v-deo.html");
@@Horodgamin haha ha
I'm a beginner from the beginning. I'm struggling but really want to concur C++
Actually i am trying to improve my logic skills in php. I have to say " wow what a reverse sir. thank you very much. "
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.
Superb superb superb ❣️❣️❣️❣️ very very good sir your teaching very easy logics for programs hats up you sir nice job
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);
}
i too did the same code but i didnt get the output
printf(''%d'',n);
Thank you bro
you teach so nicely and calmly :)
Nice , evrything is clear and explained slowly👍👍
U r teaching is quite calm and understandable sir
Best explanation that I had ever seen before.
Thank you so much sir.your explanation is very easy to understand.🙏
You are a savior for many high school computer science students.
and computer engineers
thanks a lot sir i need teacher like you
Your a great teacher sir
U r my guru in c program ubdoubtedly...👍👌👌👌sir my advice is show execution in computer...
sir ur explaination so clear.thank u so much sir
Superb,Naresh itechnolgies..
U make the logic look so so simple
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.
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.
Thanks for your clear explanation sir
Best of all ,but next time after explaining on the board ,do it on a computer as well is very helpful
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
We need more concepts like this in another question sir..!
your teaching mathod is so well dat I got it too easily..thank you...
Wonderfully explained, Thank you very much ❤
Superb and excellent teaching sir
Very nice. Teaching method is good
Super sir...I understood the logic easily....simply you are fantastic...
Thanku sir this helped me a lot.!🙏🙏🙏
When we can use int main and when we can use void main.. What are the difference
Tq u very much sir
Becoz
U make me vry clear about programs with this vedio sir
Make vedio like this only sir
Please make a video on preprocessor directives
Superb explanation sir, made it pretty simple
You explained this so well :') thanks alot sir 💯
Super sir I understand it very well. Thanks for your video
Thanks for this very helpful tutorial.
Thank you sir.. Explained clearly.
Thank you sir you are teaching easy method
Thanks soo much...this video is great!
A great way of explanation
Reverse a number concept is mainly used to dolve palindrome problems
Unsigned long int > %d or %ld or %l or any other way is there? Plz tell me
I can request you please make some programm on function in GCD of two numbers using function
... Thanku so much sir..
Tq very much sir.But I didn't understand from while loop will you please explain me this again in detail
Thank you so much sir it helped me a Lot
Thank you i understood very well
while(n!=0)
{
a=n%10;
cout
Keep it up sir. .plz do more and more program ....and teach them all slowly ...
Inka slowga chepte nidrochidhi anna
Thanku sir... It helped us really well...tvm
You are the best sir❤️
thanks you helped me a lot
thank you sir for giving us such good educational videos
Kiijii
awesome videos... good explanation....nyc sounds.. thankuu sir
Sir
Your are explained in very good ..
Thank you...
Helpful sir 🙏🏻
Tanx a lotttttttt.
Am very much helpful by ur tutorial.....
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.
sir your explaination is awesome
If you can explain in hindi than i will understand very well
Thank you
If he explains in hindi how will we south indians understand?be considerate...
Very helpful video.... Thank uu sir...
Thank you so much sir. :)
EXCELLENT EXPLANATION
wonderful explaination
Is palindrome and reversing of a number is same?
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...
Wow. Explained well
Shukriya guru jiiii🙏🙏🙏🙏
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;
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 .
Then we can use printf directly instead of sum.
Like after r=n%10;
printf("rev is %d",r);
n=n/10;
You are great sir
thank you so much for giving these services,
very informative video ..
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 ?
its the logic for pallindrome.
exactly...
Then we can use printf directly instead of sum.
Like after r=n%10;
printf("rev is %d",r);
n=n/10;
@@harshtalware7831 tnq it helped me
Easily understandable...but if u wrote full coding,that would be better
Man you're bestt💯
Nice explanation
Thanks you sir👍
very good explanation
How should we know will multply with 10 only in sum=sum*10+r statement
Well explained sir
thanks a lot sir...
Please tell me the code for reverse of array upto the given index and remaining elements should not be reversed
Sir this logic fails when we want to reverse numbers like 3500 then the output is 53 only, it should print 00 as well.
Then we can use printf directly instead of sum.
Like after r=n%10;
printf("rev is %d",r);
n=n/10;
@@harshtalware7831 yes you're right.
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
love you sir your great sir
Nice thanx sir🙏
Thanqqq soo much sir..
Sir, Would uh please say algorithm for reversing 120..?
keep it up sir
Nice explanation,,,,,,,,,,,
Sir, suppose we have a condition,
(The input number=X)
1
X
# includ
can I request you to make some vdos on fibonecc series with java programming
Sir.. Is it possible to write this pgm in if condition using go to statement
Best explanation
Really helpful