022. 부호 연산자 이해하기(+, -)022. 부호 연산자 이해하기(+, -)

Posted at 2010. 11. 12. 02:51 | Posted in Computer/초보자를 위한 C 언어 300제
#include <stdio.h>

main()
{
	int x = +4;
	int y = -2;

	printf( " x + (-y) = %d \n", x + (-y) );
	printf( "-x + (+y) = %d \n", -x + (+y) );
}
//