Is there a specific name for this type of statement?
Sum += 1;
I found out about this in my first C ++ class and used it per ton, but I never knew if there was a name for a short hand.
Is there a specific name for this type of short?
Yes, it is called compound statement 1 .
According to Source3 , certain of them are called
1) Source1 , Source2 , Source3
Source: https://habr.com/ru/post/1239988/More articles:Maven - "files were unexpected at this time" - javaKey indicators that a Java 8 thread will be slower than a for loop? - javaBlock until a new replica set configuration is installed - pythonCreate a user interface similar to Apple Reminders - iosRails 4: small problem with N + 1 for an undisclosed page - ruby-on-railsChange SWT format DateTime - javaDownload .xls files from a webpage using Python and BeautifulSoup - pythonChrome mail extension application written in which language? - google-chrome-extensionHow to change the height of the navigation bar - iosIs it possible to make an API call as part of UDF in BigQuery? - javascriptAll Articles