fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. char empty_string[] ="h";
  6. printf("sizeof(empty_string) = %d\n",
  7. sizeof(empty_string));
  8. printf("empty_string looks like %s\n",
  9. empty_string);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.01s 5324KB
stdin
Standard input is empty
stdout
sizeof(empty_string) = 2
empty_string looks like h