Modify `do while` Statement typo

The following should be correct sample:
do
  {
    ready = !notready();
  }
while (!ready);

senddata();

do
  {
    ptr++;
  }
while (*ptr != '\0');
This commit is contained in:
rovinyu
2025-12-28 11:48:12 +08:00
committed by Xiang Xiao
parent 19dcd452ff
commit 906279e37a
+1 -1
View File
@@ -2238,7 +2238,7 @@ braces <#braces>`__, `indentation <#indentation>`__, and
do ptr++; while (*ptr != '\0');
.. error:: This is incorrect
.. tip:: This is correct
.. code-block:: c