1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-09-09 06:10:43 +02:00

[c] Fix operator precedence: it should be unary minus instead equal (#5287)

This commit is contained in:
Georgehu
2025-03-28 21:36:12 +08:00
committed by GitHub
parent 49be924382
commit ed91f18061
7 changed files with 7 additions and 7 deletions

View File

@@ -748,7 +748,7 @@ typedef void (*my_fnp_type)(char *);
// Оператори | Асоціативність//
//---------------------------------------------------//
// () [] -> . | зліва направо //
// ! ~ ++ -- + = *(type)sizeof | справа наліво //
// ! ~ ++ -- + - *(type)sizeof | справа наліво //
// * / % | зліва направо //
// + - | зліва направо //
// << >> | зліва направо //