C Language - Type Casting

 



#include <stdio.h>

int main()

{

int a=4;

float b= (float) 203/4;

long c= 45578493;

printf ("hello world this is %d \n  ",  a);

printf ("hello world this is %f \n ",  b);

printf ("hello world this is %d \n ",  c);

}

// ScreenShots:



Comments

Popular Posts