[ create a new paste ] login | about

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

C++, pasted on Jun 28:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include<iostream>
using namespace std;

int main()
{
int a = 1;
int b = 2;
int c = 4;

if ( a++ || b++ & c++)
{
    cout <<a <<" " << b <<" " << c <<" " <<endl;
}
return 0;
}


Output:
1
2 2 4 


Create a new paste based on this one


Comments: