#include
#include
#ifdef TEST
#define VALUE 10
#else
#define VALUE 3
#endif
void main(void)
{
int result =100;
int x[7]={3,4,-7,0,8,4,6};
char s[] = "Number";
if(x[1] > sizeof(s))
result = x[strlen(s)]-1;
else
result = VALUE -1;
result = result -1;
printf("result = %d =", result*VALUE);
}
¿©±â¼¿ä.. TEST¶ó´Â °ÍÀÌ Á¤ÀÇ°¡ µÇ¾îÀÖÁö ¾Ê¾Ò±â ¶§¹®¿¡
¹Ø¿¡ VALUE °ªÀÌ ´Ù 3À¸·Î ġȯµÈ°Ç°¡¿ä??
#ifdefÀÌ Àß ¸ô¶ó¼ Áú¹®µå¸³´Ï´Ù..
°á°ú´Â ´ç¿¬È÷ 3ÀÌ ³ª¿É´Ï´Ù.. | |
|