full expression의 의미
413
작성한 질문수 7
5.9 표현식과 문장 수업에서 full expression의 의미가 '값을 언제 어디서 계산해야 하는지 명확한 expression' expression에 sequence point가 있는??
대충 이런 의미인가요?? expression과 full expression이 어떤 차이가 있는지 궁금해서 질문 남깁니다.
답변 1
0
아래 C 표준을 보면 명확한 표현을 알 수 있습니다.
A full expression is an expression that is not part of another expression or of a declarator. Each of the following is a full expression: an initializer that is not part of a compound literal; the expression in an expression statement; the controlling expression of a selection statement (
iforswitch); the controlling expression of awhileordostatement; each of the (optional) expressions of aforstatement; the (optional) expression in a return statement. There is a sequence point between the evaluation of a full expression and the evaluation of the next full expression to be evaluated.
http://port70.net/~nsz/c/c11/n1570.html#6.8
요컨대 다른 표현식이나 선언자의 일부가 아닌 표현식을 완전 표현식(full expression)이라 부릅니다.
Export template 안됨
1
45
2
완전히 똑같이 따라해도 exe파일이 안만들어져서 실행이 안됩니다.
1
71
3
main 함수에서 왜 int만 선언이 되는걸까요
1
63
2
8비트 2진수 변환시 왜 1을 더해야하나요?
1
62
2
혹시 강의를 빠르게 수강하려면 어디서부터 듣는게 좋을까요?
1
59
1
프로토타입과 함수간의 인자 불일치
1
81
2
12.12 헤더 관련 질문
1
64
2
Visual Studio Community 2026 사용 문의
1
150
2
Q. 15:30, 부호가 있는 8비트 정수 질문
1
65
2
getchar(), putchar()
1
97
3
강의자리ㅛ
1
86
2
비주얼스튜디오코드로 공부해도 상관없나요?
1
119
2
소스파일안에 여러 파일
1
80
2
F5와 F7의 차이
1
82
2
c = TWO * (a+b); 에서 a와 b는?
1
63
2
; 세미콜론을 붙이는 기준에 문의
1
73
1
Step over 기능 문의
1
57
2
2.6 강의 따옴표 출력 규칙 문의
1
81
2
int main 함수 관련 오류 문의
1
71
2
13.4 words[0]
0
64
2
11.7 함수를 구현해 봤습니다.
1
66
2
11.6 직접 strcmp와 strncmp를 구현해 보았습니다.
1
67
2
11.6 my_strcat과 my_strncat을 구현해봤습니다.
1
57
2
11.6 fit_str함수를 구현해 봤습니다.
1
56
2





