Update block of code to be highlighted as C (#22588)

This commit is contained in:
Miftah Mizwar
2018-11-21 06:31:50 +07:00
committed by Manish Giri
parent 059512846e
commit e9004f3e21

View File

@ -47,7 +47,9 @@ title: Operators
int b = a--; // postfix operator; a = 6, b = 7 int b = a--; // postfix operator; a = 6, b = 7
int c = --a; // prefix operator; a = 5, c = 5 int c = --a; // prefix operator; a = 5, c = 5
``` ```
// C Program to demonstrate the working of arithmetic operators
C Program to demonstrate the working of arithmetic operators
```C
#include <stdio.h> #include <stdio.h>
int main() int main()
{ {
@ -70,7 +72,7 @@ int main()
return 0; return 0;
} }
```
## 2. Relational Operators ## 2. Relational Operators
- `==` Equal - true when the two operands are equal - `==` Equal - true when the two operands are equal