blog
  • Posts
  • .Linux.LinuxSystemProgramming
    • memory
  • AutoOps
  • C
    • c_syntax
  • Container
    • Docker
      • container_concept
      • virtualmachine_container
    • Istio
    • Kubernetes
    • NamespaceAndCgroup
      • namespace
    • Network
      • tun_tap
      • veth
  • Database
  • Linux
    • Bash
    • Command
      • ethtool
      • iftop
      • ip
      • lsof
      • strace
      • sysctl
      • tcpdump
      • unshare
    • LinuxSystemProgramming
      • file_and_directory_management
      • file_io_management
      • memory_management
      • process_capabilities
      • process_management
      • process_permission
    • Linux基础
    • Subsystem
      • udev
  • Monitoring
  • WebServer
    • Apache
    • Nginx
C语言语法

简单示例 # include <stdio.h> /* * 注释语句 */ int main(void) { int num = 3; char letter = 'b'; printf("num = %d, letter = %c", num, letter); return 0; } 数据类型 整型 char, short int, int, long int, long long int 除了char型,这些整数类型若未指明是signed或unsigned,都表示signed 浮点型 float, double, long double 运算符 位运算 &, |, ^, ~ 移位运算 «, » 算术运算符 +, -, *, /, % 赋值运算符 =, +=, *=, /=, %=, «=, »==, &=, |=, ^=

September 7, 2020 Read
Navigation
  • Links
Contact Me
  • Email: zhubiaook@outlook.com

©2020 Slynxes, All Rights Reserved.
Powered by Hugo Hugo Logo