Welcome to JerrySwans Follow us!

X




Post Search

C++ Programs

C++ Programs 

A C++ program is a collection of one or more subprograms, called functions • A subprogram or a function is a collection of statements that, when activated (executed), accomplishes something  • Every C++ program has a function called main • The smallest individual unit of a program written in any language is called a token

All the operators listed exist in C++; the fourth column "Included in C", states whether an operator is also present in C. Note that C does not support operator overloading. When not overloaded, for the operators && , ... The formatting of these operators means that their precedence level is unimportant.


Special symbols   

• +
• -
• *
• /
• .
• ;    
• ?
• ,
• <=
• !=
• ==
• >=

Symbols (continued) 

• Word symbols − Reserved words, or keywords − Include:  • int • float • double • char • void • return

Identifiers 

• Consist of letters, digits, and the underscore character (_)
• Must begin with a letter or underscore
• C++ is case sensitive
• Some predefined identifiers are cout and cin
• Unlike reserved words, predefined identifiers may be redefined, but it is not a good idea














https://www.tutorialspoint.com/cplusplus/cpp_operators.htm


  

1 comment:

  1. Really interesting and informative post! Thanks for sharing with us.
    Python

    ReplyDelete

Change Language

Recent Published

Sharjah Airport Offering Job Opportunities with Salary upto 14,000 Dirhams

Sharjah Airport, a leading aviation hub in the United Arab Emirates, is delighted to announce a range of job opportunities for individuals s...

Most Viewed (60k)