Use the Char Data Type When You Need to Hold Only a Single Character and Do Not Need the Overhead of String. in Some Cases You Can Use Char(), an Array of Char Elements, to Hold Multiple Characters. the Default Value of Char Is the Character with a Code Point of 0.
Why Do We Use Char *?
•
•
6 min read
★ Key Takeaways
Use the Char Data Type When You Need to Hold Only a Single Character and Do Not Need the Overhead of String. in Some Cases You Can Use Char(), an Array of Char Elements, to Hold Multiple Characters. the Default Value of Char Is the Character with a Code Point of 0.
Direct Answer • Key Takeaway