Your full service technology partner! 
-Collapse +Expand
Search C++ Group:

-Collapse +Expand C++ To/From
-Collapse +Expand C++ Study Test
-Collapse +Expand C++ Store

Prestwood eMagazine

February Edition
Subscribe now! It's Free!
Enter your email:

   ► KBProgrammingC++Classic C La...   Print This     
  From the January 2016 Issue of Prestwood eMag
C++ Classic C Language:
C Family Unary Operators
Posted 17 years ago on 9/17/2007
Take Away: An operation with only one operand (a single input) such as ++X and --Y.
C++ Definition Flashcard:
 A flashcard from our C++ Flashcards Library
 A definition from our C++ Definitions Page


C Family Unary Operators - An operation with only one operand (a single input) such as ++X and --Y.

An operation with only one operand (a single input). The following are the C family unary operators:

More Info


Share a thought or comment...
Comment 1 of 3

The C language was designed to allow programmers freedom—not only to change data at a machine-code level (via the use of pointers), but also to write shortcuts. It was originally designed to assist write operating systems. Shortcuts are dangerous for beginners but sometimes nice for programmers who know what they’re doing. If they‘re willing to risk their lives. The following, a slick way of stating "Do anything N times," is one of the most elegant methods. Again, we‘re dealing with the fact that any numeric number can be a condition in C and C++. The loop finishes when n becomes 0, after being decremented once for each trip through the loop. However, there are several issues: what if n has a negative beginning value? Get carx highway racing for your pc here.

Posted 25 months ago

Comment 2 of 3

Thank you for sharing some of the operations in the C family of unary operators. eggy car

Posted 102 days ago

Comment 3 of 3

Programmers can alter data at the machine-code level and create shortcuts thanks to the nature of the C language which grants them freedom.

ragdoll archers

Posted 94 days ago
Write a Comment...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1295A1
Enter key:
Definition Contributed By Mike Prestwood:

Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions. Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains and has authored 3 drum books. If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.

Visit Profile

 KB Article #100678 Counter
Since 4/2/2008
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site:

©1995-2024 Prestwood IT Solutions.   [Security & Privacy]