![da vinci code movie trilogy da vinci code movie trilogy](https://data-flair.training/blogs/wp-content/uploads/sites/2/2019/04/Output-of-Static-Variables-in-C.jpg)
Thus, the variables declared as char data type can only store one single character. Thus, double data type are also referred to as double precision data type.ĭouble variable_name Character Data Type, charĬharacter data type declares a variable that can store a character constant. Int variable_name Float data Type, floatįloat data type declares a variable that can store numbers containing a decimal number.įloat variable_name Double Data Type, doubleĭouble data type also declares variable that can store floating point numbers but gives precision double than that provided by float data type. Thus, to declare integer data type following syntax should be followed: The keyword used to declare a variable of integer type is “int”. Integer data type is used to declare a variable that can store numbers without a decimal. The following primitive data types in c are available: Integer Data Type, int Thus, all c compilers provide support for these data types.
![da vinci code movie trilogy da vinci code movie trilogy](https://image.slidesharecdn.com/hipotesisyvariables-140228074226-phpapp01/95/hipotesis-y-variables-19-638.jpg)
The primitive data types in c language are the inbuilt data types provided by the c language itself.
![da vinci code movie trilogy da vinci code movie trilogy](https://i.ytimg.com/vi/OCdKGjqat-I/maxresdefault.jpg)
In this tutorial we will only focus on primitive data types, user defined and derived data types will be discussed separately.