InterviewSolution
Saved Bookmarks
| 1. |
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...!!! |
|
Answer» tion:Integers are whole numbers that can have both zero, positive and negative values but no decimal values. For example, 0, -5, 10We 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 doublefloat 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, |
|