What is the purpose of "int mask = ~0;"? – stackoverflow.com

I saw the following line of code here in C. int mask = ~0; I have printed the value of mask in C and C++. It always prints -1. So, I have some questions: Why assigning value ~0 to the mask ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "What is the purpose of "int mask = ~0;"? – stackoverflow.com"