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
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.
printf("the excellent tutorial i got till now.....WORTH IT......thanks");
printf(Check this out - Alternate explanation for all 32 bit integers:ruclips.net/video/BfAJkKDHTQk/видео.html");
@@Horodgamin haha ha
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 🙏
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.
I'm a beginner from the beginning. I'm struggling but really want to concur C++
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
sir your way of teaching is really awesome, very helpful 👍👍
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.
Actually i am trying to improve my logic skills in php. I have to say " wow what a reverse sir. thank you very much. "
sir ur explaination so clear.thank u so much sir
Best of all ,but next time after explaining on the board ,do it on a computer as well is very helpful
you teach so nicely and calmly :)
Thank you so much sir.your explanation is very easy to understand.🙏
Nice , evrything is clear and explained slowly👍👍
We need more concepts like this in another question sir..!
Best explanation that I had ever seen before.
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.
your teaching mathod is so well dat I got it too easily..thank you...
U r teaching is quite calm and understandable sir
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.
You explained this so well :') thanks alot sir 💯
Thanks for your clear explanation sir
Superb superb superb ❣️❣️❣️❣️ very very good sir your teaching very easy logics for programs hats up you sir nice job
Reverse a number concept is mainly used to dolve palindrome problems
You are a savior for many high school computer science students.
and computer engineers
Superb,Naresh itechnolgies..
U make the logic look so so simple
Your a great teacher sir
U r my guru in c program ubdoubtedly...👍👌👌👌sir my advice is show execution in computer...
Superb explanation sir, made it pretty simple
Super sir...I understood the logic easily....simply you are fantastic...
I can request you please make some programm on function in GCD of two numbers using function
... Thanku so much sir..
Wonderfully explained, Thank you very much ❤
Thank you sir.. Explained clearly.
thanks a lot sir i need teacher like you
while(n!=0)
{
a=n%10;
cout
awesome videos... good explanation....nyc sounds.. thankuu sir
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...
A great way of explanation
Superb explanation sir
thank you so much for giving these services,
very informative video ..
Thanks soo much...this video is great!
Tq u very much sir
Becoz
U make me vry clear about programs with this vedio sir
Make vedio like this only sir
thank you sir for giving us such good educational videos
Kiijii
# includ
Thanku sir... It helped us really well...tvm
Thanks for this very helpful tutorial.
Superb and excellent teaching sir
Thanku sir this helped me a lot.!🙏🙏🙏
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...
Please make a video on preprocessor directives
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
Sir
Your are explained in very good ..
Thank you...
When we can use int main and when we can use void main.. What are the difference
Super sir I understand it very well. Thanks for your video
Thank you sir you are teaching easy method
Nice explanation
wonderful explaination
Thank you so much sir it helped me a Lot
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;
Tanx a lotttttttt.
Am very much helpful by ur tutorial.....
Nice explanation,,,,,,,,,,,
Very nice. Teaching method is good
Thank you sir
sir your explaination is awesome
EXCELLENT EXPLANATION
Keep it up sir. .plz do more and more program ....and teach them all slowly ...
Inka slowga chepte nidrochidhi anna
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.
Thank you i understood very well
Very helpful video.... Thank uu sir...
You are great sir
Try to print reverse 100,200...etc with that logic.
Tq very much sir.But I didn't understand from while loop will you please explain me this again in detail
thanks a lot sir...
can I request you to make some vdos on fibonecc series with java programming
thanks you helped me a lot
awesome explanation sir
Easily understandable...but if u wrote full coding,that would be better
Thank you!
printf("thank you very much
");
love you sir your great sir
Really helpful
amazing lecture sir
You are the best sir❤️
Thank u sir .I understood the logic easily
Helpful sir 🙏🏻
very good explanation
Wow. Explained well
Shukriya guru jiiii🙏🙏🙏🙏
Well explained sir
Thank u Sir.
Sir, suppose we have a condition,
(The input number=X)
1
X
Thank you so much sir. :)
Is palindrome and reversing of a number is same?
Man you're bestt💯
Unsigned long int > %d or %ld or %l or any other way is there? Plz tell me
thankyou so much
With sum of individual digits and check palendrome