Unary Operators is a historical design pattern.
- Unary Operators ranks in the top 50% of entities I track
- the Unary Operators wikipedia page
- I have 8 facts about Unary Operators. what would you like to know? email me and let me know how I can help.
Languages with Unary Operators include cpp
Example from cpp:
int count = 2; count++; ++count; count--; --count; &count; // address *count; // indirection +count; // Positive -count; // negative ~count; // one's complement !x; // logical negation sizeof count; sizeof(int); (float)count;
Last updated September 6th, 2019