Wednesday 1 January 2020

What is Type-Casting in C? tccicomputercoaching.com


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.
  1. 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

No comments:

Post a Comment