Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- BFS(Breadth First Search)
- 위상 정렬(Topology Sort)
- 위상 정렬(Topological Sort)
- DFS(Depth First Search)
- 백준 9012번
- 이분 그래프(Bipartite Graph)
- 트리(Tree)
- 큐(Queue)
- 백준 1707번
- 알고리즘 개념
- 동적 프로그래밍(Dynamic Programming)
- BFS
- 그리디 알고리즘(Greedy Algorithm)
- DFS
- 플로이드 워셜 알고리즘(Floyd-Warshall Algorithm)
- 백준 1948번
- 백준 17608번
- 백준 10000번
- 백준 21606번
- 분할 정복(Divide and Conquer)
- 백준 2493번
- 백준 18352번
- 그래프(Graph)
- 백준 2504번
- DFS & BFS
- 다익스트라 알고리즘(Dijkstra Algorithm)
- 스택(Stack)
- 백준 2812번
- 백준 2261번
- 이분 탐색(Binary Search)
Archives
- Today
- Total
Always Be Wise
Keywords와 Identifiers 본문
728x90
C 언어에서 이미 Keyword로 사용하고 있어서 Identifier(ariables, functions, structures 등)로 사용할 수 없는 것들이 있다.

Rules for naming identifiers
- A valid identifier can have letters (both uppercase and lowercase letters), digits and underscores.
- The first letter of an identifier should be either a letter or an underscore.
- You cannot use keywords like int, while etc. as identifiers.
- There is no rule on how long an identifier can be.
However, you may run into problems in some compilers if the identifier is longer than 31 characters.
You can choose any name as an identifier if you follow the above rule, however, give meaningful names to identifiers that make sense.
'프로그래밍 언어 > C' 카테고리의 다른 글
| 메모리 구조와 동적 메모리 할당 (0) | 2021.12.04 |
|---|---|
| 구조체 포인터 (0) | 2021.12.04 |
| 구조체 배열 (0) | 2021.12.04 |
| typedef를 이용한 구조체 선언 (0) | 2021.12.04 |
| 구조체란? (0) | 2021.12.04 |