[ create a new paste ] login | about

Link: http://codepad.org/XkZVRg64    [ raw code | output | fork ]

C, pasted on Nov 22:
1
2
3
4
5
6
7
8
9
10
11
#include<stdio.h>

main()
{
  char i='a';
  int a=5;
  printf("i is %d \n",i);
  printf("a is %f \n",a);
  printf("a is %f \n",(float)a);  
return 0;
}


Output:
1
2
3
i is 97 
a is 2.168831 
a is 5.000000 


Create a new paste based on this one


Comments: