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

Posted at 2010. 11. 12. 02:51 | Posted in Computer/초보자를 위한 C 언어 300제
01.#include <stdio.h>
02. 
03.main()
04.{
05.    int x = +4;
06.    int y = -2;
07. 
08.    printf( " x + (-y) = %d \n", x + (-y) );
09.    printf( "-x + (+y) = %d \n", -x + (+y) );
10.}
//