KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
What is "!!" in C?
Asked 2013-02-07T13:12:58.260
▲
63
▼
I have encountered the following snippet:
pt->aa[!!(ts->flags & MASK)] = -val;
What does
!!
(double exclamation marks/ exclamation points/ two NOT operators) stand for in c?
Doesn't
(!!NULL) == NULL
?
c
gcc
boolean
boolean-expression
Copy Link
Twitter
Facebook
LinkedIn
Share
Edit
Save
Report
Add comment
0 Answers
Your Answer
Post Your Answer