Friday 29 January 2016

Lecture#1 ka Point#58 (Csharp Roman Hindi/Urdu Me).

Question: String="Muhammad Shumail Cheema" memory me kitne bytes space occupy kre ga?


Answer: Total 23 characters use ho rhey hain is String me (space ko mila k) lakin yeh String 23 bytes ka nahi hoga balkey 40 bytes ka hoga.



1 character ≠ 1byte = 20bytes(String).


21 character ≠ 21byte = 40bytes(String).

No comments:

Post a Comment