Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the simple-sitemap domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u246705441/domains/gangofcrypto.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the simple-sitemap domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u246705441/domains/gangofcrypto.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ultimate-member domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u246705441/domains/gangofcrypto.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the updraftplus domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u246705441/domains/gangofcrypto.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpforms-lite domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u246705441/domains/gangofcrypto.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u246705441/domains/gangofcrypto.com/public_html/wp-includes/functions.php on line 6114
Data types in C Language - Gang of Crypto

Data types in C Language

Data types in C Language

Data-types-in-C-gang-of-crypto

What is a Data type ?

A Data type is a special word which is understood by the compiler that in which form the data is being stored. In other words, A data type is a to specify how we enter the data in our programs and what type of data we enter.

Every language has it’s own set of data types to handle the data we enter. There are two types of data types in C Language they are:

a) Primitive Data types (or) Primary Data types                                                      b) Referenced Data types (or) Derived Data types.

Primary Data types (or) Primitive Data types

These data types are considered as basic data types in C. There are 4 primary data types they are int, char, float, and void. Simply, a datatype defines which type of data to hold by a variable. Each data type has it’s own size of occupying space in the memory. 

  1. Integer Type

Integer type are used to store whole numbers.

integer-type-gang-of-crypto
fig 1 : Integer type

 

2) Floating Point Type

 

These floating types are used to store real numbers.

 
float-type-gang-of-crypto-c-programming
fig 2 : Floating type

3) Character Type

Character types are used to store character value.

 
fig 3 : Character type

 

4) Void Type

 

Void means nothing (or) empty which actually means no value. It is used 

when we need to return no value (or) NULL.

 

Derived Data types

Derived data types (or) secondary data types are the data types which are just like a extension of the primitive data types. For example, arrays, unions, etc. Which are complex than primitive data types.

Referred from here .