[ create a new paste ] login | about

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

C, pasted on Apr 4:
1
2
3
4
5
6
7
8
9
10
#include<stdio.h>
void main()
{
    int a=4, b=2;
    char x='z';
    float m=6.0, n=3.0;
    printf("%i \n",a+b);
    printf("%c \n",x);
    printf("%f", m/n);
}


Output:
1
2
3
6 
z 
2.000000


Create a new paste based on this one


Comments: