+28

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?

//

4/9/2019 8:22:33 PM

Sławek J.

3 Answers

New Answer

+6

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

+5

// in C/C++, C#, Java, JS, PHP... Is one-line comment, in Python it's floor division: 5 / 2 = 2.5 5 // 2 = 2 / is division

+4

// is used for single-line comments on programming languages like C++/Java/Javascript. / is tipically used for division.