#18_Type Casting in c

 # include <stdio.h>


int main()
{
    int a=3;
    float b=(float)54/7;
    printf("a=%d\n b=%f",ab);
    return 0;
}

Comments

Popular posts from this blog

PS_Ch6_Q8

PS_Ch6_Q4

PS_Ch9_Q4