fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. // your code goes here
  8. }
  9. }
  10.  
Success #stdin #stdout 0.05s 21844KB
stdin
#include <stdio.h>

int main() {
    char str[] = "ab\n\\012\\\""; // 定义字符串
    int length = sizeof(str) / sizeof(str[0]); // 计算字符串长度
    printf("The length of the string is: %d\n", length);
    return 0;
}
stdout
Standard output is empty