{"id":4448,"date":"2022-12-23T11:35:00","date_gmt":"2022-12-23T11:35:00","guid":{"rendered":"https:\/\/gyanipandit.com\/programming\/?p=4448"},"modified":"2022-12-22T18:55:33","modified_gmt":"2022-12-22T18:55:33","slug":"how-to-reverse-a-number-in-c","status":"publish","type":"post","link":"https:\/\/gyanipandit.com\/programming\/how-to-reverse-a-number-in-c\/","title":{"rendered":"How to Reverse a Number in C"},"content":{"rendered":"<p align=\"JUSTIFY\">In this video, we are going to understand and implement a simple C program, to reverse a number. For example, the given number is 1234, the revsersed number should be 4321. The logic behind this program is very simple, and once you are familiar with the logic, you can also perform this program easily. In order to understand this program in a better way, one needs to be familiar with the concepts like while loop in C, and some basic arithmetic operators, which are used in the program. You can try this program and many other programs.<\/p>\n<h2 style=\"text-align: center;\" align=\"JUSTIFY\">How to Reverse a Number in C<\/h2>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"youtube-embed\" data-video_id=\"xrVqnDSJXwc\"><iframe loading=\"lazy\" title=\"How to Reverse a Number in C\" width=\"696\" height=\"392\" src=\"https:\/\/www.youtube.com\/embed\/xrVqnDSJXwc?feature=oembed&#038;enablejsapi=1\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p>\u00a0I hope you find this video \u2018How to Reverse a Number in C\u2019 helpful for you\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this video, we are going to understand and implement a simple C program, to reverse a number. For example, the given number is 1234, the revsersed number should be 4321. The logic behind this program is very simple, and once you are familiar with the logic, you can also perform this program easily. In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4450,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[29,77],"class_list":{"0":"post-4448","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-c-program","8":"tag-c-program","9":"tag-how-to-reverse-a-number-in-c"},"_links":{"self":[{"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/posts\/4448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/comments?post=4448"}],"version-history":[{"count":1,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/posts\/4448\/revisions"}],"predecessor-version":[{"id":4451,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/posts\/4448\/revisions\/4451"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/media\/4450"}],"wp:attachment":[{"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/media?parent=4448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/categories?post=4448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/tags?post=4448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}