Computer Science SLO Based Key Point Notes
👉👉👉 Computer Science 12th Class Notes (Main Page)
************************************
Unit 3: Object-Oriented Programming in C++
3.2.6 Type Casting
It is used to convert a variable from one data type to another data type during program execution. There are two types of type casting:
It is used to convert a variable from one data type to another data type during program execution. There are two types of type casting:
1. Implicit Type Casting:
Implicit type casting is performed automatically by the compiler to convert a data type to another data type.
Implicit type casting is performed automatically by the compiler to convert a data type to another data type.
2. Explicit Type Casting:
- Explicit type casting is performed by the programmer.
- The programmer defines the data type in parenthesis before the variable or expression as follows:
(type) expression
- Explicit type casting is performed by the programmer.
- The programmer defines the data type in parenthesis before the variable or expression as follows:
👇👇👇👇👇👇👇👇👇👇👇👇
************************************👉👉👉 Computer Science 12th Class Notes (Main Page)
************************************
(National Book Foundation - As Federal Textbook Board, Islamabad Based on National Curriculum Pakistan 2026-2027 and Onward prescribed by Federal Board of Intermediate and Secondary Education, Islamabad, and All Pakistan Boards)
(National Book Foundation - As Federal Textbook Board, Islamabad
Based on National Curriculum Pakistan 2026-2027 and Onward prescribed by Federal Board of Intermediate and Secondary Education, Islamabad, and All Pakistan Boards)
{Contact WhatsApp # +923339719149 for Class-XII Computer Science Complete SLO-Based Key Points notes in pdf format as well as in PowerPoint Presentation for preparing/delivering the Lectures}
Note: Write me in the comments box below for any query and also Share this information with your class-fellows and friends.
0 Comments
Note: Write me in the comments box below for any queries and also Share this information with your class-fellows and friends.