explicit type conversion

Computing Dictionary

explicit type conversion definition

programming
(Or "cast" in C and elsewhere). A programming construct (syntax) to specify that an expression's value should be converted to a different type.
For example, in C, to convert an integer (usually 32 bits) to a char (usually 8 bits) we might write:
int i = 42; char *p = &buf; *p = (char) i;
The expression "(char)" (called a "cast") converts i's value to char type. Casts (including this one) are often not strictly necessary, due to automatic coercions performed by the compiler, but can be used to make the conversion obvious and to avoid warning messages.
(1999-09-19)

The Free On-line Dictionary of Computing, © Denis Howe 2010 http://foldoc.org
Cite This Source

00:10

00:09

00:08

00:07

00:06

00:05

00:04

00:03

00:02

00:01

Explicit type conversion is always a great word to know.
So is lollapalooza. Does it mean:
an extraordinary or unusual thing, person, or event; an exceptional example or instance.
a fool or simpleton; ninny.
Dictionary.com, LLC. Copyright © 2012. All rights reserved.
  • Please Login or Sign Up to use the Recent Searches feature