When do we use string,char,float etc in c language (computer)
Answers
Answered by
0
In C programming, a string is a sequence of characters terminated with a null character \0 . When the compiler encounters a sequence of characters enclosed in the double quotation marks, it appends a null character \0 at the end by default.
Char - It is short for character, which is a data type that holds one character (letter, number, etc.) of data.
float - It is used to store decimal numbers (numbers with floating point value) with single precision. double: It is used to store decimal numbers (numbers with floating point value) with double precision.
Answered by
0
It answer is not coming I will comment please mark as brianlist
Similar questions