+ 36

What does it mean in different languages? Is this sign // the same what / or sometimes it means the same?

What does // mean? Is this sign used in diffrent languages?

9th Apr 2019, 8:22 PM
Sławek J.
2 Respuestas
+ 7
In many languages like C, Java and so on it is used for a comment: // This is a comment In Python it is used for floor division. 5/2 == 2.5 5//2 == 2
9th Apr 2019, 8:36 PM
HonFu
HonFu - avatar
+ 5
// is used for single-line comments on programming languages like C++/Java/Javascript. / is tipically used for division.
9th Apr 2019, 8:36 PM
Diego
Diego - avatar