About 50 results
Open links in new tab
  1. Type-casting in C++ - Stack Overflow

    Jan 30, 2015 · Here the value of c is implicitly converted to int type without using any explicit operator. Is this considered casting ? or its considered casting just when I have to performe an explicit …

  2. What exactly is a type cast in C/C++? - Stack Overflow

    If I remember correctly a double value requires more space (was it 8 bytes?!) than an integer (4 bytes). And the internal representation of both are completely different (complement on two/mantissa). So …

  3. what does typecasting actually means in java? - Stack Overflow

    Aug 5, 2011 · Typecasting is also known as type conversion, it is to change an object from one data type to another. In non-primitive objects, typecasting is done on objects which have certain features of …

  4. What is the Use of TypeCasting in java - Stack Overflow

    Sep 2, 2016 · What is the Use of TypeCasting in java Asked 9 years, 7 months ago Modified 9 years, 7 months ago Viewed 2k times

  5. Typecasting of pointers in C - Stack Overflow

    Aug 10, 2016 · However in system applications, sometimes you want to use a trick to perform binary or specific operation - and C, a language close to the machine structure, is convenient for that. For …

  6. string - Typecasting in Python - Stack Overflow

    Dec 22, 2008 · I need to convert strings in Python to other types such as unsigned and signed 8, 16, 32, and 64 bit ints, doubles, floats, and strings. How can I do this?

  7. How does typecasting between different sized integers work in C++?

    Jul 6, 2025 · Imagine: int full = static_cast<int>(uint8_t_var); Does anything actually happen under the hood here? If you're on a machine with 64 bit registers, I assume that the higher bits of uint8_t_var …

  8. Typecasting in C# - Stack Overflow

    Aug 27, 2009 · What is type casting, what's the use of it? How does it work?

  9. c - typecasting a pointer to an int . - Stack Overflow

    Aug 8, 2015 · You're typecasting the pointers to primitive datatypes rather type casting them to pointers themselves and then using * (indirection) operator to indirect to that variable value.

  10. c - Typecasting int pointer to float pointer - Stack Overflow

    May 16, 2015 · This is not correct. int and float are not guaranteed to have the same alignment. Remember: Casting a value and casting a pointer are different scenarios. Casting a pointer changes …