赋值表达式可作为变量使用,变量的值为'='左边的变量赋值后的值.

例如

  #include <stdio.h>

  main()

  {

    int a;

    printf("%3d",a=5);

  }

输出为 : 5 

相关文章:

  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-08
  • 2022-12-23
猜你喜欢
  • 2021-10-31
  • 2022-12-23
  • 2022-03-04
  • 2021-04-12
  • 2022-12-23
  • 2021-08-22
  • 2022-01-05
相关资源
相似解决方案