Monday, 7 May 2018

Learn C language Part -41 Type Casting in C language





#include <stdio.h>

#include <conio.h>



main()

{



float a=(float) 9/2;

float x=3.142;

int y=x;

printf("%d",y);

//printf("%f",a);



}

No comments:

Post a Comment

Pass Dynamically Added Html Table Records List To Controller In Asp.net MVC

Controller Code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ...