[ create a new paste ] login | about

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

C++, pasted on Jul 30:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <assert.h>

int main()
{
bool a;
bool b;

a=1;
b=0;
if (a=b)
{
 printf ("%d , %d",a,b);
}
printf ("%d , %d",a,b);
}


Output:
1
0 , 0


Create a new paste based on this one


Comments: