Skip to main content

C programming basics - part 1

Data Types:


There are two data types in C programming language -

(1)- Primary Data Types 

(2)- Secondary Data Types

 

(1)- Primary Data Types : 

    Primary data types are those data types which are defined already in the          language. They can be used directly in the program. These data types one of the main important thing in C programming.

 There are mainly three types primary data types-----

a)- int : For integer values range = -32767 to 32768

b)- float : For float values range =

c)- char : For character values range = -127 to 128

Comments

Popular Posts

Programing Langauges HLL vs LLL

High Level Languages:      High level languages are abbreviated as HLL, these languages are too much similar to human language. These are more programmer friendly languages easy to code, debug and maintain. Actually they don't interact with the hardware , rather they focuses more on the complex arithmetic operations, optimal program efficiency and easiness in coding.      High level language requires a compilers or an interpreters to translate source code written in high level language to machine language. We can compile the source code written in HLL to multiple languages. Thus they are machine independent language. Advantages of HLL: It provides higher level of abstraction from machine languages. It is machine independent languages. Less error prone, easy to find debug errors. They provides the better programming productivity. Disadvantages of HLL:  Its take additional time to translate its code to machine code. HLL programmer are much slower than...