C语言在线咨询,如何在一个字符串中给一个字符赋值后输出整个字符串

2025-02-26 21:12:27
推荐回答(1个)
回答1:

int a,b;
scanf("%d%d",&a,&b);
printf("%d+%d=%d",a,b,a+b);