type function tells us
a. data type of the variable b.type of constant
c.type of maths calculation d. none of these
Answers
Answer:
the answer is none of this..
Explanation:
plzzzzz mark me .
Answer:
Pearson Education Always Learning
Programming in C
3. Variables, Data Types, and Arithmetic Expressions
The true power of programs you create is their manipulation of data. In order to truly take advantage of this power, you need to better understand the different data types you can use, as well as how to create and name variables. C has a rich variety of math operators that you can use to manipulate your data. In this chapter you will cover:
The int, float, double, char, and _Bool data types
Modifying data types with short, long, and long long
The rules for naming variables
Basic math operators and arithmetic expressions
Type casting
Understanding Data Types and Constants
You have already been exposed to the C basic data type int. As you will recall, a variable declared to be of type int can be used to contain integral values only—that is, values that do not contain decimal places.
The C programming language provides four other basic data types: float, double, char, and _Bool. A variable declared to be of type float can be used for storing floating-point numbers (values containing decimal places). The double type is the same as type float, only with roughly twice the precision. The char data type can be used to store a single character, such as the letter ’a’, the digit character ’6’, or a semicolon (’;’) (more on this later). Finally, the _Bool data type can be used to store just the values 0 or 1. Variables of this type are used for indicating an on/off, yes/no, or true/false situation. These one-or-the-other choices are also known as binary choices.