filmov
tv
CS201 Short Lecture 3 | VU Short Lectures | C++ Programming in Urdu | Data Types in C / C++

Показать описание
CS201 Introduction to programming Short online video lectures are recorded for the students of BSCS,BSIT, BSSE , MCS and MIT virtual University of Pakistan. In this introduction to programming course C and C++ programming language is used to teach all important programming concepts to the students of computer science Information Technology software. CS201 introduction to programming short online video lectures are recorded in #Urdu and #Hindi language. Cs201 short lectures will help the students to to get themselves prepare for mid term and final term examinations in a fast way. CS 201 midterm practice 2014 final term preparation will become easy with the help of these cs201 short lectures.
Today's Lecture on Data Types (Topics)
1. Three categories of simple data
2. Integral: integers (numbers without a decimal)(45)
3. Floating-point: decimal numbers (45.56)
4. character type: characters (AZ, a-z, 0-9 etc.)
5. data types are further classified into nine categories:
6. char, short, int, long, bool
7. unsigned char, unsigned short, unsigned int, unsigned long
8. bool type Two values: true and false
Manipulate logical (Boolean) expressions
true and false
Logical values
bool, true, and false
Reserved words
float: represents any real number
Range: -3.4E+38 to 3.4E+38 (four bytes)
double: represents any real number
Range: -1.7E+308 to 1.7E+308 (eight bytes)
When we declare a variable we not only specify the variable we also specify what type of data a variable can store. A syntax rule to declare a variable datatype identifier;
For example consider the following examples:
int counter;
Bool var; var=1; var=0; var=true; var=false;
double interestRate;
char grade;
join us
like us on Facebook Page
subscribe out YouTube Channel
out website for more tutorials related to programming , office automation and e-commerce.
visit our blog.
#TheITeducation #OnlineLectures #OnlineLecture #OnlineLectureVideo
comments for any further query... #vushortlectures
Today's Lecture on Data Types (Topics)
1. Three categories of simple data
2. Integral: integers (numbers without a decimal)(45)
3. Floating-point: decimal numbers (45.56)
4. character type: characters (AZ, a-z, 0-9 etc.)
5. data types are further classified into nine categories:
6. char, short, int, long, bool
7. unsigned char, unsigned short, unsigned int, unsigned long
8. bool type Two values: true and false
Manipulate logical (Boolean) expressions
true and false
Logical values
bool, true, and false
Reserved words
float: represents any real number
Range: -3.4E+38 to 3.4E+38 (four bytes)
double: represents any real number
Range: -1.7E+308 to 1.7E+308 (eight bytes)
When we declare a variable we not only specify the variable we also specify what type of data a variable can store. A syntax rule to declare a variable datatype identifier;
For example consider the following examples:
int counter;
Bool var; var=1; var=0; var=true; var=false;
double interestRate;
char grade;
join us
like us on Facebook Page
subscribe out YouTube Channel
out website for more tutorials related to programming , office automation and e-commerce.
visit our blog.
#TheITeducation #OnlineLectures #OnlineLecture #OnlineLectureVideo
comments for any further query... #vushortlectures
Комментарии