C语言const char*使用

#include<stdio.h>
const char*name = "hello audio";
char*usb_name = "ac usb string descriptor";
int main()
{
   name = usb_name;
  // name[0] = 'a';
   printf("name is %s
",name);

    return 0;
}

  

一勤天下无难事。
原文地址:https://www.cnblogs.com/nowroot/p/13811817.html