Computer Science, asked by programmer1, 1 year ago

What are datatypes and key words in C language?

Answers

Answered by pankaj12je
2
Hi friend,

Data Type======== Data types are used to represent which type of data will be stored in memory variable.
These are 2 types :
 1. Numeric datatype Again these are 2 types :
i. Integer datatype
ex: +- 0,1,2,3,..... ii. Real number datatype ex: +- 0.13,3.353,....
 2. Character datatype  EX:  'a', 'x', etc...

Keywords=========== Keywords are reserved words, those meaning is already defined by software itself. In C Language, there are 32 keywords.
Ex: int,float, char, if, while, do, else, switch, etc...
Keywords should be in lower case letters.
Hope this helps !!
Answered by Anonymous
2

\huge{\mathfrak{\purple{Answer}}}-

Data Types - Data type is a specifier if data that defines the type of data.

There are 4 data type in C language -

  1. int (Perfect numbers)
  2. float (numbers with point as- 2.4,56.8 )
  3. char ( character type value)
  4. string ( combination of characters)

Keywords - Keywords are those words whose meaning is already defined in the computer. We can't use any keywords as a variable name. There are 32 keywords in c language.

As- int, if , for, else, float etc.

Similar questions