I am really confused as to the purpose of the unary + operator. What in the world does it do? I have tested it and it doesn't return the absolute value. Does it just return the operand? And if so what purpose is it?! (I mainly care about integer types)
Labdabeta 182 Posting Pro in Training Featured Poster
thines01 401 Postaholic Team Colleague Featured Poster
PrimePackster 10 Runaway Poster
mrnutty 761 Senior Poster
PrimePackster 10 Runaway Poster
vijayan121 1,152 Posting Virtuoso
mrnutty 761 Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.