删除
char *bi; bi="01010101";
bi 是一个指针, 但是你还没有给它申请空间, 是不可能直接赋值 bi = "0101" 的。
https://blog.csdn.net/weixin_30786617/article/details/96574498