There is a syntax error in the last printf statement inside the main function. The string literals should be enclosed in double quotes (" "), not single quotes (' '). The corrected statement is:

printf("书名:%s\t价格:%s\t批次号:%s",cunshang.name,cunshang.pricing,cunshang.id);

#include stdioh#includestringhint addint aint b	return a+b;结构体struct bookschar id50;char name50;char pricing50;;int main Write C code in this online editor and run it printfHello World! n; pr

原文地址: https://www.cveoy.top/t/topic/htBq 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录