{"id":4722,"date":"2017-10-09T14:59:35","date_gmt":"2017-10-09T14:59:35","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=4722"},"modified":"2021-03-20T12:45:33","modified_gmt":"2021-03-20T12:45:33","slug":"c-program-to-find-the-associated-character-with-the-ascii-code","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/c-program-to-find-the-associated-character-with-the-ascii-code\/","title":{"rendered":"C Program to find the character with the ASCII code"},"content":{"rendered":"<p class=\"post-title entry-title\">C Program to find the associated character with the ASCII code. We will prompt the user to enter the ASCII code in the program.<\/p>\n<h3>C Program<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#include&lt;stdio.h&gt;\r\nint main()\r\n{\r\n    int code;\r\n    char ch;\r\n    printf(\"Enter the ASCII code:\");\r\n    scanf(\"%d\", &amp;code);\r\n    ch=(char) code;\r\n    printf(\"The equivalent character of ASCII code %d is:= %c\\n\",code,ch);\r\n    return 0;\r\n}\r\n<\/pre>\n<h3><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4723\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/c-program-output.png\" alt=\"c program output\" width=\"1920\" height=\"1031\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/c-program-output.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/c-program-output-300x161.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/c-program-output-1024x550.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/c-program-output-768x412.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/c-program-output-1536x825.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h3>Sample Output<\/h3>\n<p>Enter the ASCII code:65<br \/>\nThe equivalent character of ASCII code 65 is:= A<\/p>\n<!--themify_builder_content-->\n<div id=\"themify_builder_content-4722\" data-postid=\"4722\" class=\"themify_builder_content themify_builder_content-4722 themify_builder tf_clear\">\n    <\/div>\n<!--\/themify_builder_content-->\n","protected":false},"excerpt":{"rendered":"<p>C Program to find the associated character with the ASCII code. We will prompt the user to enter the ASCII code in the program. C Program #include&lt;stdio.h&gt; int main() { int code; char ch; printf(&#8220;Enter the ASCII code:&#8221;); scanf(&#8220;%d&#8221;, &amp;code); ch=(char) code; printf(&#8220;The equivalent character of ASCII code %d is:= %c\\n&#8221;,code,ch); return 0; } Sample [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4723,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[188],"tags":[],"class_list":["post-4722","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-programs","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4722","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=4722"}],"version-history":[{"count":3,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4722\/revisions"}],"predecessor-version":[{"id":19552,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4722\/revisions\/19552"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media\/4723"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=4722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=4722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=4722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}