Recent posts

[C] Heap & Dynamic memory allocation

2 minute read

In the previous post, we looked at the array form that is declared and used with a fixed size variable type. However, the static memory allocation method, wh...

[C] 포인터 활용

1 minute read

포인터 개념은 단순하지만 사용사례가 헷갈리기 쉬우므로 몇가지 간단한 함수를 통해 알아보고자 한다. 첫번째는 증감연산자와 포인터를 함께 쓸 때이다. *a++, *++a 두 개는 operation에서 설명한 것과 같이 연산자의 우선순위에 따라 처리된다. 먼저 *a++의 경우 a와 가까...

[C] Pointer application

2 minute read

The pointer concept is simple, but the use case is confusing, so let’s look at a few simple functions. The first is when you use an increment operator and a ...

[C] 포인터

2 minute read

포인터는 말 그대로 가르키는 것, 가르키는 행위 객체 정도로 이해할 수 있다. 포인터의 역할과는 상관없이 그 또한 객체이기 때문에 변수로 정의되고 활용될 수 있다. Data type에 대한 post에서 소개한 정수/실수/문자 자료형처럼 가르키는 행동을하는 변수가 포인터 변수이며, ...

[C] Pointer

3 minute read

Pointers can be understood as literally pointing to, pointing action objects. Regardless of the role of a pointer, since it is also an object, it can be defi...