代码中a>=b?a:b 代表什么意思 能否与if else语句做详细对比并解释
#include<stdio.h>
int main(){
int a,b;
scanf("%d%d",&a,&b);
printf("a=%d,b=%d\n",a,b);
printf("The max is:%d",a>=b?a:b);
}
int a
if(a>=b)
{a=a;}
else{a=b}
if(a>=b){
return a;
else
return b;