It’s same as 0.0
, it will treat it as double instead of an integer, so you don’t need to cast it.
More Related Contents:
- Can someone translate these C codes into mips assembly code
- HOW I CALCULATE TIME IN C PROGRAM
- how to convert .c file to .hex file and load it on AVR microcontroller?
- Getting two errors while compiling C code on a Linux virtual Machine
- How to pass 2D array (matrix) in a function in C?
- How does concatenation of two string literals work?
- How to dynamically allocate memory space for a string and get that string from user?
- How do I check if a variable is of a certain type (compare two types) in C?
- Why does GCC create a shared object instead of an executable binary according to file?
- C function calls: Understanding the “implicit int” rule
- What is guaranteed about the size of a function pointer?
- Checking if float is an integer
- How Does sizeof(Array) work
- Conversion specifier of long double in C
- How to print variable addresses in C?
- C: correct usage of strtok_r
- Regarding ‘main(int argc, char *argv[])’ [duplicate]
- How can I check if a value has even parity of bits or odd?
- Should you always use ‘int’ for numbers in C, even if they are non-negative?
- ISO C90 forbids mixed declarations and code in C
- strstr not functioning
- Why is the fgets function deprecated?
- What is “…” in switch-case in C code
- What are the various ways to disable and re-enable interrupts in STM32 microcontrollers in order to implement atomic access guards?
- Print text instead of value from C enum
- Declaring and initializing arrays in C
- Why does printf() not print anything before sleep()?
- Reading from file using fgets
- How to set a timeout for a function in C?
- Printf without newline in assembly