explain the two types of constants and variables used in basic give examples
Answers
Answered by
4
What are variables and constants give example?
A constant is a value that doesn't change throughout the execution of a program. A variable is an identifier which is used to store a value. There are four commonly used data types such as int, float, char and a void. Each data type differs in size and range from one another.20-Feb-2021
Unsigned char: 1
Int or signed int: 2
Data type: Size in bytes
Unsigned long int: 4
Answered by
14
Answer:
What are variables and constants give example?
A constant is a value that doesn't change throughout the execution of a program. A variable is an identifier which is used to store a value. There are four commonly used data types such as int, float, char and a void. Each data type differs in size and range from one another.20-Feb-2021
Unsigned char: 1
Int or signed int: 2
Data type: Size in bytes
Unsigned long int: 4
Similar questions