- Character types are used to store a character.
- These are divided into 2 categories.
Data Type | Size (bytes) | Range |
char | 1 | -128 to 127 |
unsigned char | 1 | 0 to 255 |
Example :-
/* A character type variable */
char bestlanguage = “C”;
Coding Blocks in Python, C/C++, Java, and other popular programming languages with our easy to follow tutorials, examples, Easy Program in Languages. Coding Blocks is a tutorials site for beginners that covers topics like Java, AWT, JSP, Servlet, JSTL, C, C++, DBMS, Perl, WordPress, SEO. A popular programming and development in blog. Here you can learn C, C++, Java, Python, Android Development, PHP, SQL, JavaScript, .Net, etc. C Programming, C++ Programming, Java Programming, Python Programming.
No comments:
Post a Comment
Please do not any spam link in Comment Box