Tuesday, July 14, 2009

What are the operators in list in C Programming? Explain with example.?

This is a list of operators in the C++ and C programming languages. All the operators listed exist in C++; the third column indicates whether an operator is also present in C. It should also be noted that C does not support operator overloading.





The following operators are sequence points in both languages (when not overloaded): %26amp;%26amp;, ||, ?:, and , (the comma operator).





C++ also contains the type conversion operators const_cast, static_cast, dynamic_cast, and reinterpret_cast which are not listed in the table for brevity. The formatting of these operators means that their precedence level is unimportant.





Those operators that are in C, with the exception of the comma operator, are also in Java, Perl, C#, and PHP with the same precedence, associativity, and semantics.


No comments:

Post a Comment