{"id":1061,"date":"2021-12-02T14:58:26","date_gmt":"2021-12-02T14:58:26","guid":{"rendered":"https:\/\/ethosspace.com\/programmers\/?p=1061"},"modified":"2021-12-02T14:58:27","modified_gmt":"2021-12-02T14:58:27","slug":"how-to-get-ascii-values-of-a-to-z","status":"publish","type":"post","link":"https:\/\/ethosspace.com\/programmers\/how-to-get-ascii-values-of-a-to-z\/","title":{"rendered":"How to get ASCII values of A to Z"},"content":{"rendered":"\n<p>ASCII stands for American Standard Code for Information Interchange. Like how we understand A to Z in simmilar way machine understand A to Z in some language. So let&#8217;s see what is ASCII value of A to Z which require to perform electronic communication. modern character-encoding schemes are based on ASCII.<\/p>\n\n\n\n<p>To print ASCII value of A to Z in C Programming Language. ASCII contains fix  integer value.<\/p>\n\n\n\n<p>So in this program will print the A to Z and using %d we will try to print associated ASCII Value for each character. So to get below output here is complete c program code.<\/p>\n\n\n\n<p>Output<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-c\" data-lang=\"C\"><code>ASCII Value of A is 65\nASCII Value of B is 66\nASCII Value of C is 67\nASCII Value of D is 68\nASCII Value of E is 69\nASCII Value of F is 70\nASCII Value of G is 71\nASCII Value of H is 72\nASCII Value of I is 73\nASCII Value of J is 74\nASCII Value of K is 75\nASCII Value of L is 76\nASCII Value of M is 77\nASCII Value of N is 78\nASCII Value of O is 79\nASCII Value of P is 80\nASCII Value of Q is 81\nASCII Value of R is 82\nASCII Value of S is 83\nASCII Value of T is 84\nASCII Value of U is 85\nASCII Value of V is 86\nASCII Value of W is 87\nASCII Value of X is 88\nASCII Value of Y is 89\nASCII Value of Z is 90<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-c\" data-lang=\"C\"><code>#include &lt;stdio.h&gt;\nint main()\n{\n    char ascCh; \/\/declaring variable which start from Alphabet A\n    for(ascCh=&#39;A&#39;; ascCh&lt;=&#39;Z&#39;; ascCh++)\n    {\n        printf(&quot;ASCII Value of %c is %d\\n&quot;, ascCh,ascCh);\n    }\n    return 0;\n}<\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ASCII stands for American Standard Code for Information Interchange. Like how we understand A to Z in simmilar way machine understand A to Z in some language. So let&#8217;s see what is ASCII value of A to Z which require to perform electronic communication. modern character-encoding schemes are based on ASCII. To print ASCII value [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-1061","post","type-post","status-publish","format-standard","hentry","category-c-language"],"aioseo_notices":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"sparkling-featured":false,"sparkling-featured-fullwidth":false,"tab-small":false},"uagb_author_info":{"display_name":"program45_-rt8nb","author_link":"https:\/\/ethosspace.com\/programmers\/author\/program45_-rt8nb\/"},"uagb_comment_info":0,"uagb_excerpt":"ASCII stands for American Standard Code for Information Interchange. Like how we understand A to Z in simmilar way machine understand A to Z in some language. So let&#8217;s see what is ASCII value of A to Z which require to perform electronic communication. modern character-encoding schemes are based on ASCII. To print ASCII value&hellip;","_links":{"self":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts\/1061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/comments?post=1061"}],"version-history":[{"count":1,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts\/1061\/revisions"}],"predecessor-version":[{"id":1062,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts\/1061\/revisions\/1062"}],"wp:attachment":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/media?parent=1061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/categories?post=1061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/tags?post=1061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}