Thread: Really quick

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    !6 == 6) evaluates to !TRUE or FALSE.

    With all the things to learn in programming, why is this kind of trivia seen as important, though?

    Not always needed, but logical expressions like this should be grouped by their own parenthesis:

    !((13%7) == (24%9))
    Last edited by Adak; 02-11-2010 at 06:37 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. strcmp returning 1...
    By Axel in forum C Programming
    Replies: 12
    Last Post: 09-08-2006, 07:48 PM
  2. Do you know...
    By davejigsaw in forum C++ Programming
    Replies: 1
    Last Post: 05-10-2005, 10:33 AM
  3. Questions on basic Quick Sort
    By Weng in forum C++ Programming
    Replies: 4
    Last Post: 12-16-2003, 10:06 AM
  4. Quick Sort Help
    By NavyBlue in forum C Programming
    Replies: 1
    Last Post: 03-02-2003, 10:34 PM
  5. Replies: 0
    Last Post: 04-30-2002, 07:24 PM