[ create a new paste ] login | about

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

runnig - C, pasted on Mar 20:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
int main()
{
  int samples_per_chunk = 1;
  if (!samples_per_chunk--)
  {
     printf("if: %d\n",samples_per_chunk);
  }
  else
  {
    printf("else: %d\n", samples_per_chunk);
  }
  return 0;
}


Output:
1
2
else: 0



Create a new paste based on this one


Comments: