Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What is the result of len(x) when the integer variable x= 1234 in vb? How to do this problem?
What is the result of len(x) when the integer variable x= 1234 in vb? How to do this problem?
The results are: 2

The Len function is an integer that returns the number of characters in a string or the nominal number of bytes required to store a variable.

You are an integer type, not a character, so it is the number of bytes needed to store this variable.

Use Len () function to find the length of integer X, that is, to find the number of bytes in integer memory. It's exactly 2 o'clock.