C programming Basics (Data Types)


Data Types : 

It's a particular information a compiler or interpreter use to know how the programmer aim to use the data.

  • Integer variables (int) 

For example: – Number of students – Number of tables 

  • Floating point variables (float)

 For quantities which may contain decimal point such as distance, area, and temperature.

  • Character variables (char)

A character such as A,a,B,b......$,%,u

  • String

Two or more than two Characters.

  • Boolean 

It has one of two possible values ​​(usually true or false), intended to represent two true values ​​of logic and Boolean algebra.


These are some basic data types there are some other data types which we will discuss later.



NEED WORK PRODUCE WORK

My name is Abdul Rehman I am from Pakistan. I am doing BS in Computer and information sciences. Currently, I am creating these blogs to help students of computer sciences all over the world..

Post a Comment (0)
Previous Post Next Post