#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

#64_Funtions for File I/O in C

#51_Ex_Game

#24_Stack_using_an_array