What does a single vertical bar mean in C [closed]

2020-03-26 18:54发布

Someone showed me the following code snippet and asked what it meant:

if (!pFCT->FBMap(| ( VBQNum - 1 ) / 8 |) & (1 << (7 - ( ( VBQNum - 1 ) % 8)))))
{
    stuff
}

And I got stuck on the stand alone vertical bars. I know two together mean "or" but just one, what does that mean.

标签: c
7条回答
smile是对你的礼貌
2楼-- · 2020-03-26 19:35
登录 后发表回答