Posts

Showing posts with the label range calculation

Data types in C language

Image
What is data type As you have seen in the previous article, a variable is declared as given below...
int a; //variable declaration In the above program code snippet, int is called a data type and a is a variable of that data type.Data type describe the content a variable can store.Data type also explains how data will be stored (the organization) in memory. Data types can be classified into two broad categories... Primitive (Basic) data typeComposite (Secondary) data types / User-defined data types In this article we will only discuss primitive data types, User-defined data types will be discussed later. Primitive data types Data types which are defined by the system/programming language are called primitive data type. These data type defines a single entity, which can't be divided further. List of primitive data types along with their memory occupied and the allowed range are described as below... Integral data typesReal data typesCharacter data typesIntegral data typesData type…

Popular posts from this blog

Overview of Go lang

Arrays in C Language

Data Types in Go language

Creating your first html page

Say Hello world in Go lang

Arrays in Go lang

Installing go lang

String in golang

Decision Making in Go lang

Decision Making Statements