Programming In C, Data Types Used in C Programs

Question 1: Describe the data type of C language. Ans: Data Types Used in C Programs C Provides three main data types for variables, that is. 1. Integer. 2. Floating point. 3. Character. Question 2. What is integer data type? Give examples. Ans: Integer variable declaration has the form: Type specifier Variable; For example: Int Sum; The declaration consists of the type name, int followed by the name of the variable, sum. All the variables used in a c program must be declared. Declaration of an integer variable can begin with the type qualifiers, short, long, unsigned or singed. Some examples are…. Integer data types used in c Question 3: Define what is floating point data type? Ans: Floating point variables are used for storing floating point numbers. Floating point numbers are stored in memory in two parts. The first part is the mantissa and the second part is the exponent, Some examples of floating points variable declaration statement are: 1....