#include<stdio.h>int main(){int a;char c;scanf("%d %c",a,c);c=a+1;printf("%c",c);}就c=a+1;报错。如何解决问题,并且正确表达我的意思?
scanf("%d %c",&a,&c);要加上取地址符号 &