I'm checking the bytes of s=a variable allocated in memory using Python.
The result is 50
Will I get the same 50 bytes if I do the same in other languages?
My Python code is here
import sys
s ='a'
print(sys.getsizeof(s))
I'm checking the bytes of s=a variable allocated in memory using Python.
The result is 50
Will I get the same 50 bytes if I do the same in other languages?
My Python code is here
import sys
s ='a'
print(sys.getsizeof(s))
Copyright © 2021 Jogjafile Inc.