

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Semicolons in C++
According to the ISO C++ specifications, The lexical representation of C++ programs includes a number of preprocessing tokens which are used in the syntax of the preprocessor or are converted into tokens for operators and punctuators. The semicolon is a punctuator in C++.
A semicolon character is at the end of the following parts of a C++ grammar (not necessarily a complete list) −
- an expression-statement
- a do/while iteration-statement
- the various jump-statements
- the simple-declaration
These are all part of the C++ grammar. You can read more about these statements in the ISO C++ specification.
- Related Questions & Answers
- Write a C++ Program without Semicolons?
- Putting semicolons after while and if statements in C++
- Do we need to use semicolons in JavaScript?
- What is the difference between semicolons in JavaScript and in Python?
- strcoll() in C/C++
- fseek() in C/C++
- strcpy() in C/C++
- strcmp() in C/C++
- isless() in C/C++
- islessgreater() in C/C++
- Pointers in C/C++
- isgreater() in C/C++
- modf() in C/C++
- isblank() in C/C++
- islessequal() in C/C++
Advertisements