C语言 杂货整理

C语言 杂货整理

#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>

int main(void)
{
    int a = 10;
    int b = 20;
    // ,:将逗号后面的值赋值给变量c
    int c = (a, b+20);
    printf("%d\n", c);
    return 0;
}
逗号运算符使用

C语言 杂货整理

猜你喜欢

转载自www.cnblogs.com/xiangsikai/p/12372933.html
今日推荐