+ 3
Strings in c
how many ways I can write strings including spaces?
7 Respostas
+ 6
256 possible chars:
2^8 possible different bit representations, because one bit is either 0 or 1 (so 2 possibilities) and a char has 1 byte = 8 bit of memory
256^(length of string):
because of possible chars explained above and all chars possible at each place of the string
plus terminator at the end of (after) the string
+ 3
256^(length of string), if I understood correctly
+ 3
why did u put 256
+ 3
unfortunately I don't 😅
+ 3
thanks mate
+ 1
you should know it
+ 1
256 is used because the digits from 0 - 255 represent the ascii characters (0x00 - 0xFF hex).