Sie sind auf Seite 1von 1

/* ROLL NO: 1 SEM-1 ICA DIV: A

NAME : VARUN AGGARWAL SUBJECT: FOP


PROGRAM DEFINITION: State the output for the following:

void main()
{
float i=23922.34;
int j=(int)i;
printf("%d",i);
printf("%f",j);
}
*/

#include<stdio.h>
#include<conio.h>

void main()
{
float i=23922.34;
int j=(int)i;
clrscr();
printf("%d",i);
printf("%f",j);
getch();
}
/* OUTPUT:
545460634110079379000000000000000.000000
*/

Das könnte Ihnen auch gefallen