Computer Science, asked by patiala9310, 1 year ago

Explain any two data types of 'C' program.

Answers

Answered by nazmausb
1

Answer:Program C Software Engineering

Explanation:

Answered by Abhinavraj2589
2

C language supports 2 different type of data types:

Primary data types:

These are fundamental data types in C namely integer(int), floating point(float), character(char) and void.

Derived data types:

Derived data types are nothing but primary datatypes but a little twisted or grouped together like array, stucture, union and pointer. These are discussed in details later.

Data type determines the type of data a variable will hold. If a variable x is declared as int. it means x can hold only integer values. Every variable which is used in the program must be declared as what data-type it is.

Attachments:
Similar questions