Posts

C Tutorial 2

Image
                                              Tutorial-2 In this tutorial, we are going to learn about variables,different data-types and other related stuff. What are data-types? In C-programing, a data can be represented in different formats. an example might be as follows, in mathematics, 12 and 12.0 are same, however in computer science, the memory required by 12 and 12.0 is different. The number of bits required to store an integer is not the same as the number of bits stored by a floating point value(decimal point value). So the question arises how to tell the compiler to allocate the memory for different types of data? The answer to this is by telling the complier the data-type of the value or data which is the type of the data. C language data...