what is typeof((c) + 1) in C

后端 未结 7 2039
梦谈多话
梦谈多话 2020-12-23 14:09

I came across an expression in C like

typeof((c) + 1) _tmp = c;

What exactly does this mean?

Thanks for the reply.

Just on

相关标签:
7条回答
  • 2020-12-23 14:41

    In my opinion, only for pointer, typeof((c) + 1) = typeof(c); so this maybe assure the passing parameter is pointer

    0 讨论(0)
提交回复
热议问题