[ create a new paste ] login | about

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

godneil - C, pasted on Aug 25:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# include <stdio.h>
int main (void)
{
    int height = 5;
    
    int holding_variable = 0;
    
    holding_variable = (height == 5);
    
    printf("The holding variable contains %d", holding_variable );
    
    return 0;
    
}


Output:
1
The holding variable contains 1


Create a new paste based on this one


Comments: