[ create a new paste ] login | about

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

C, pasted on Aug 28:
1
2
3
4
5
6
7
8
9
10
11
#include<stdio.h>
void main()
{
int a, b, c;
char A;
a=12;
b=5;
c=a-b;
A=a*b;
printf("answer is %d", c, "%c", A);
}


Output:
1
answer is 7


Create a new paste based on this one


Comments: