logo
  • 教程列表
  • SO官方文档
  • 实现定义的行为
    • 右移一个负整数
    • 为整数分配超出范围的值
    • 分配零字节
    • 有符号整数的表示
  1. StackOverflow 文档
  2. C Language 教程
  3. 实现定义的行为
  4. 分配零字节

分配零字节

Created: November-22, 2018

// The allocation functions have implementation-defined behavior when the requested size
// of the allocation is zero.
void *p = malloc(0);
  • 有符号整数的表示
  • 为整数分配超出范围的值

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明