Computer Science, asked by thakurpradeep959501, 4 months ago

explain the two types of constants and variable used in basic give example ​

Answers

Answered by samleanderv
0

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

Int or signed int: 2

Data type: Size in bytes

Unsigned long int: 4

Unsigned char: 1

Explanation:

Similar questions