I use c-pointers in which, if I increment like * p ++, it increments p, but returns only the value that p indicates before it was incremented. how can i increase the value indicated by p.
do the following: (* p) ++
Using parentheses, you indicated that you want to increase the value specified in.
postfix ++ , *, *p++ *(p++). *p, : (*p)++ *p p . ++(*p) *p .
++
*
*p++
*(p++)
*p
(*p)++
p
++(*p)
, ++*p, , ++(*p) (*p)++, ++*p *p++.
++*p
Source: https://habr.com/ru/post/1759750/More articles:Architecture of car multimedia systems - systemКак изменить схему диаграммы? - tsqlHow to realize the end on the map? - c ++Compile a C program on Linux using another glibc library - gccTool to create a full backup of SQL-Sever database on shared hosting? - sql-serverTransfer the shared library to another version of libc - cInsert date / time in UITextView when user calls return - iphonePHP: by-reference-function with boolean as return value - strange notification - functionChoosing the correct exception type if there is no user attribute - .netPaging in ASP.NET without a database - asp.netAll Articles