+ 1

when to use Colon's?

9th Sep 2016, 10:34 PM
Donald Egeonu
Donald Egeonu - avatar
5 Answers
+ 1
colons r most use in switch cases like case 1: and semicolon is used to end a statement and in case of c++ colons r also used in inheritance
10th Sep 2016, 3:57 PM
Suhail Pappu
Suhail Pappu - avatar
- 1
semi colon is used to end the statement
10th Sep 2016, 12:58 PM
Krishan Kumar
Krishan Kumar - avatar
- 2
semi colons are used when your line of code is done. understand?
9th Sep 2016, 10:54 PM
Aquarius
Aquarius - avatar