උදා: කිසියම් loop එකක මැදදී එය නැවත්වීමට අවශ්ය වුවහොත් මෙම jump statement යොදා ගත හැක.
1. break
Our development agency is committed to providing you the best service.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed pretium elit, quis consectetur leo.
Learn moreLorem ipsum dolor sit amet, consectetur adipiscing elit. In sed pretium elit, quis consectetur leo.
Learn moreLorem ipsum dolor sit amet, consectetur adipiscing elit. In sed pretium elit, quis consectetur leo.
Learn moreWe pride ourselves with strong, flexible and top notch skills.
We help our clients integrate, analyze, and use their data to improve their business.
GREAT PROJECTS
HAPPY CLIENTS
COFFEES DRUNK
FACEBOOK LIKES
We pride ourselves on bringing a fresh perspective and effective marketing to each project.
Operators | Name |
& | Logical AND |
| | Logical OR |
^ | Logical XOR |
&& | Short Circuit AND |
|| | Short Circuit OR |
! | Logical NOT |
&= | AND Assignment |
|= | OR Assignment |
^= | XOR Assignment |
== | equal to |
!= | Not Equal to |
? : | Ternary operator(if-then-else) |
|
Operators | Operator name | Usage | result |
== | Equal to | a == b | False |
!= | Not equal to | b != c | False |
> | Greater than | b > c | False |
< | Less than | a < b | True |
>= | Greater than or equal to | b >= c | True |
<= | Less than or equal to | b <= a | false |
Operators | Operators name | usage | result |
+ | Addition | C = a + b | C = 22 |
- | Subtraction | C= a - b | C = 6 |
* | Multiplication | C = a * b | C = 112 |
/ | Division | C = a / b | C = 1 |
% | Modulus | C = a % b | C = 6 |
++ | Increment | C = a++ | C = 15 |
-- | Decrement | C = b-- | C = 7 |
Operators | Operators name | usage | result |
+= | Addition Assignment | a+= b | a = 22 |
-= | Subtraction Assignment | a-= b | a = 6 |
*= | Multiplication Assignment | a*= b | a = 112 |
/= | Division Assignment | a/= b | a = 1 |
%= | Modulus Assignment | a%= b | a = 6 |
![]() |
int x=10; x++; SOP(x); | int x=10; ++x; SOP(x); | int x=10; SOP(x++); SOP(x); | int x=10; SOP(++x); SOP(x); |
Answers | |||
11 | 11 | 11 11 | 10 11 |
We've been developing corporate tailored services for clients for 30 years.
Morbi auctor tempor facilisis cras amet. Donec condimentum non turpis ac posuere.
Morbi auctor tempor facilisis cras amet. Donec condimentum non turpis ac posuere.
Morbi auctor tempor facilisis cras amet. Donec condimentum non turpis ac posuere.
Morbi auctor tempor facilisis cras amet. Donec condimentum non turpis ac posuere.
Morbi auctor tempor facilisis cras amet. Donec condimentum non turpis ac posuere.
Morbi auctor tempor facilisis cras amet. Donec condimentum non turpis ac posuere.
For enquiries you can contact us in several different ways. Contact details are below.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.