操作系统,链接库
实验内容
https://blog.csdn.net/qq_51625007/article/details/125297010
添加一个运算符@,完成a@b=a+2b
#include<stdio.h>
#define add(a,b) (a+2*b);
//定义@运算
int main(){
int x=1;
int y=2;
int z=add(x,y);
int c =x@y;
printf("%d",z);
printf("%d",c);
}
5 5