Computer Science, asked by mansoorkhan40233, 8 months ago

Write a C language program which create Variables marks of data type int x if data type floot (g) of data type double and z of data type chr and show result...!!!​

Answers

Answered by duvarakesh222K
0

Explanation:

Integers are whole numbers that can have both zero, positive and negative values but no decimal values. For example, 0, -5, 10

We can use int for declaring an integer variable.

int id;

Here, id is a variable of type integer.

You can declare multiple variables at once in C programming. For example,

int id, age;

The size of int is usually 4 bytes (32 bits). And, it can take 232 distinct states from -2147483648 to 2147483647.

float and double

float and double are used to hold real numbers.

float salary;

double price;

In C, floating-point numbers can also be represented in exponential. For example,

Similar questions