#include<stdio.h>
void main(void)
{
int i;
char a[5]={"1234"};
for(i=0; i<4;
i++)
{
printf("%c\n",a[i]);
}
}
요거랑
#include<stdio.h>
void main(void)
{
int i;
char a[5]="1234";
for(i=0; i<4; i++)
{
printf("%c\n",a[i]);
}
}
두개 차이점이???
결과 값은같언데...
특별히 {} 쓰는 이유와 안쓰는 이유가??
깔끔한 설명.