{"id":2324,"date":"2024-11-06T11:31:17","date_gmt":"2024-11-06T11:31:17","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.in\/?p=2324"},"modified":"2024-11-06T12:04:53","modified_gmt":"2024-11-06T12:04:53","slug":"char","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2024\/11\/06\/char\/","title":{"rendered":"Explain the char keyword"},"content":{"rendered":"\n<p>char keyword in C is used to declare a character variable in the C programming language.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">char x = 'D';<\/pre>\n\n\n\n<p>Below is the C program to demonstrate the char keyword:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h&gt;\n\/\/ Driver code\nint main() {\n  char c = 'a';\n  printf(\"%c\", c);\n  return 0;\n}\n<strong>Output\na<\/strong><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>char keyword in C is used to declare a character variable in the C programming&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2324"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=2324"}],"version-history":[{"count":2,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2324\/revisions"}],"predecessor-version":[{"id":2338,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2324\/revisions\/2338"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=2324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=2324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=2324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}