0

I noticed on several places within various languages (C++, Java, Python...)usage of _variable naming. What does this indicate?

ps-aux
  • 10,627
  • 21
  • 73
  • 123

2 Answers2

0

in c or c++, _ is used start of variable name for some variable used in lib code.to prevent to same name found in your code and the lib. I python _ is used for result that wasn't assigned to a variable .

madan ram
  • 1,230
  • 2
  • 17
  • 26
0

In Python:

_ = 1
(_-_) will now equal 0
PascalVKooten
  • 19,461
  • 15
  • 93
  • 149