void main() { char s[]="\12345s\n"; printf("%d",sizeof(s)); }
When I compile it, it gives 6. I don't understand why it gives 6 insted of 8. Like {'\1','2','3','4','5','s','\n'}
Please can someone explain the reason for this, I want to get a deep and clear explanation. I will be grateful to them.
source share