fork download
  1. #include<stdio.h>
  2. #include<string.h>
  3.  
  4. int main()
  5. {
  6. printf("%d\n",sizeof("S\065AB"));
  7. printf("%d\n",sizeof("S65AB"));
  8. printf("%d\n",sizeof("S\065\0AB"));
  9. printf("%d\n",sizeof("S\06\05\0AB"));
  10. printf("%d\n",sizeof("S6\05AB"));
  11. printf("%d\n",sizeof("\0S65AB"));
  12. printf("%d\n",sizeof("S\105AB"));
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
5
6
6
7
6
7
5