SSC
COMPUTER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following is NOT true about Strings?
|
Lets the user type in letters, numbers and words
|
|
Stored in 1 byte of memory
|
|
Python defaults to Strings-have to change a String to a number
|
|
Not used for calculations
|
Explanation:
Detailed explanation-1: -A string is composed of: An 8-byte object header (4-byte SyncBlock and a 4-byte type descriptor)
Detailed explanation-2: -Explanation: A string of characters is stored in successive elements of a character array are terminated by the NULL character. 3. How does the strings are stored in the memory? Explanation: The characters of a string are stored contiguously in the memory.
There is 1 question to complete.