TYPE CASTING in C
When it require to convert result of expression into another type then it can be performed as a following format:-
Syntax:-
|
Example:- printf(“%f”,(float)5/2);
Output---à 2.5
WEB DEVELOPER | ENTREPRENEUR | TRAINER | AUTOMATION TESTER | IT CONSULTANT
|
Comments
Post a Comment