answersLogoWhite

0


Best Answer

Casting is used when you want to save a value of one type to a variable which is of a different type. Below are a couple of different examples:

Example 1:

double d = 3.6;

int i = (int) d;

Example 2:

int i = (int) 29.4;

Care must be taken when casting as detail is lost. In the first example above, the new value of 'i' would be 3. This means that any number with a decimal point will automatically loose anything after the decimal point (basically, it will be rounded down).

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

16y ago

An actor plays one role where they become famous such as an action hero from there on they only receive parts that have them staring as an action heros.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is typecast?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Other Engineering
Related questions

Is there a technical term for actors that are typecast in the same role?

no


What is meant by the term typecast?

Typecast is a term used in acting to describe the action in which an actor is portrayed as the same or similar character. It can be difficult for actors to step outside the role in which they are "typecasted".


Why did Phyllis Logan quit the role of Lady Jane Felsham?

typecast


What are the release dates for Half and Half - 2002 The Big Typecast Episode 2-17?

Half and Half - 2002 The Big Typecast Episode 2-17 was released on: USA: 29 March 2004


What actors and actresses appeared in Typecast - 2006?

The cast of Typecast - 2006 includes: Ludovic Balland as himself Steff Geissbuhler as himself Manuel Krebs as himself Wolfgang Weingart as himself Cornel Windlin as himself


When should not type cast used?

Example for pointless typecast: char *p, *q; p= (char *)q;


Words beginning with type?

Words beginning with 'type' are: type typewriter typecast typeface typeset typesetter typestyle


Can a union be used in c to convert an integer into a double?

No, but a typecast can: int n; double d; d= (double)n;


Did Ian Mckellen play Albus Dumbledore?

No, official line was that he didn't want to by typecast as a wizard after playing Gandalf in the LOTR trilogy.


How was bela lugosi typecast?

He was famous for his role as Count Dracula, and afterwards found it difficult to find any roles besides horror.


First argument of fwrite function is typecast to?

void * wlen= fwrite ((void *)&data, 1, sizeof (data), file); if (wlen != sizeof (data)) ... error ...


Some words that mean the same as stereotype?

Example, convention, custom, pattern, institution, formula, typecast, standardize, define, catalogue, pigeonhole...