All pastes #422456 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-03 14:00 UTC
rendered paste body
#include <stdio.h>

void main()
{
	int a = 2, b, c;

	b = a--;
	c = ++b;
	printf("%d \n", b++ * 3); \\ result is 9
	printf("%d \n", -cc *a++); \\ result 2
	printf("%d \n", ++a + -c * --b); \\ result -3 ---- i dont understand how its -3 and how's b = 4
}

Im learning from a book, 
&#1513;&#1508;&#1514; c &#1488;&#1500; &#1492;&#1513;&#1497;&#1488;