+ 1

What is the size of null string in c?

22nd Sep 2020, 5:43 PM
Gaurav Rawat
Gaurav Rawat - avatar
3 odpowiedzi
+ 5
If you have doubt you can print the sizeof null character . And your last Question u already asked about sizeof so try self.
23rd Sep 2020, 1:37 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Sizeof operator counts null cheatector in string by default null cheatector is present So empty string contain 1 character size is 1
22nd Sep 2020, 6:37 PM
Bhargava Ram
Bhargava Ram - avatar