In this blog post, you will learn about Punctuators in C programming language. We are frequently using the Punctuators in our code. We will also see here some programming examples using the Punctuators. So before going in-depth let’s first understand what is Punctuators in C programming?
What is a Punctuators in C?
A punctuator is a symbol that has independent syntactic and semantic significance. punctuators themselves do not specify an operation that yields a value. Some punctuators, either alone or in combination, can also be operators or be significant to the preprocessor.
Note:
An operand is an entity on which an operator acts.
List of some punctuators:
Any of the following characters are considered punctuators:
Note:
The punctuators [ ], ( ), and { } must appear in pairs.
Recommended Post
- Elements of C language.
- C String Literals with Its Types
- C identifiers and naming rules.
- Stringizing operator (#) in C
- Token Pasting Operator in C/C++ programming.
- Learn how to use the typedef in C.
- Macro in C, you should know.
- enum in C,7 application.
- You should know the volatile Qualifier.
- C format specifiers.