What do you mean by type expression in programing C language?
Type expression
- The type cast expression is emphasizes the output to gives you to keep the result.
- The type cast expression is uses to force the result or an output as the type of data type you chooses.
- When you using integer data type for the global variable you need to change the data type as globally for the whole program but you want to force the output of the two values of the variables is as your choice of output.
- You can declare the type cast expression in the middle of the program.
- You can declare the type cast expression in the output statement of the program where the output statement of the program is known as the “printf” function.
In the image the type cast expression is a float in the “printf” function in the middle of the program to forces the output as you want to take the output in the form of fractional parts.
No comments:
Post a Comment