[ create a new paste ] login | about

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

C, pasted on Jun 19:
1
2
3
4
5
6
7
8
9
10
/* C code */
#include <stdio.h>
int main() {
  int x = 10; int y = 35;
 // x = x * y;
y/=x;
  printf("The current value of x is: %i\n", y);

  return 0;
}


Output:
1
The current value of x is: 3


Create a new paste based on this one


Comments: