diff options
fix(teaching/upp-2025/cpp-pitfalls): Fix type of g function
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/teaching/upp-2025/cpp-pitfalls/index.du | 2 |
diff --git a/src/teaching/upp-2025/cpp-pitfalls/index.du b/src/teaching/upp-2025/cpp-pitfalls/index.du index 85bc5e2..5e2c118 100644 --- a/src/teaching/upp-2025/cpp-pitfalls/index.du +++ b/src/teaching/upp-2025/cpp-pitfalls/index.du @@ -377,7 +377,7 @@ void f(int* matrix) { Например: ```c++ -void g(int matrix(*)[2]) { +void g(int (*matrix)[2]) { /* ... */ matrix[2][1]; /* ... */ |