Blog
What is Type-Casting in C? tccicomputercoaching.com
- February 4, 2020
- Posted by: Riddhi Dhandha
- Category: C Programming Langauge at TCCI
Type-Casting means we can convert from one data type to another data-type.
There are 2 types of casting:
1. Internal
2. External:
1. In internal compiler convert from small type to large type.
For Example,
int x;
float y;
z=x+y;
here, x- integer type converted to float type y automatically.
2. External
In External User manually convert from one data-type to another data-type.
Syntax:
(type)value;
float y=(float )9/4;
TCCI Computer Coaching teaches various basic concepts to the students in Bopal and Satellite in Ahmedabad.
We teach C, C++, Java, Python, Database Management, Python, Data Structure HTML,CSS, Java Script, .Net , PHP, System Programming Compiler Design, Boot Strap, Angular Js etc.
Hurry up!!!
Get Admission at TCCI.
call us@9825618292.
visit us@tccicomputercoaching.com