It is a keyword. A character denotes any alphabet, digit or special symbol used to represent information. Following are the valid alphabets, numbers and special symbols allowed in C.
(1) Alphabets - A, B, ….., Y, Z a, b, ……, y, z
(2) Digits - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
(3) Special symbols - ~ ‘ ! @ # % ^ & * ( ) _ - + = | \ { } [ ] : ; " ' , . ? / > <
If you want to use only one character in your program then you can use char data-type. 'A', 'B', 'c', 'M', etc is the example of character. '1', '5', '9', etc is also the example of char data type but it is not a numeric value. size of char data type is 1
%c is used in scanf() function to read double type value.
Comsysapp.com is an educational website. Students and software developers can learn programming language tutorials. Comsysapp is very useful for beginners and professional developers. Comsysapp provides tutorial in easy language. Comsysapp.com has focus on simplicity.
Comsysapp.com provides free tutorials like c, html, css, etc. All tutorials are free for beginner and professionals.
comsysapp.com is not responsible for any mistake. We are not responsible if information made available on our website is incomplete or invalid. But comsysapp.com always try for zero-zero mistake.
comsysapp.com does not collect any data from users. We use Google AdSense advertising on our website. We never ask personal or private information.
copyright © 2023