Variable Price has been assigned the value 7.5. The data type of the value assigned to Price is ______________
a) float
b) text
c)int
d)string
Answers
Answered by
1
Answer:
b is the correct answer.
Explanation:
hope it helps you
Answered by
1
Answer:
Variable Price has been assigned the value 7.5. The data type of the value assigned to Price is float.
So, option (a) float is correct.
Common data types:
Integer (int) : 1234567
Floating point (float) : 234.34
Character (char) : 'c'
String : "Good Morning!!"
Boolean (bool) : true , false
Data type in C/C++
Primary:
- Integer
- Character
- Boolean
- Floating Point
- Double Floating Point
- Void
- Wide Character
Derived:
- Function
- Array
- Pointer
- Reference
User-Defined:
- Class
- Structure
- Union
- Enum
- Typedef
Similar questions
Math,
2 months ago
India Languages,
4 months ago
World Languages,
4 months ago
Math,
11 months ago
English,
11 months ago
Hindi,
11 months ago