Advertisement
Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

C Language Comparisons and Their Opposites

Part of the C All-in-One Desk Reference For Dummies Cheat Sheet

Programming in C, or any programming language, means building comparisons — greater and lesser than and equal to in various combinations. Get to know the comparisons C uses and their opposites:

If Comparision Else Statement Executed By This Condition
< >= Greater than or equal to
== != Not equal to
> <= Less than or equal to
<= > Greater than
>= < Less than
!= == Equal to
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Advertisement
Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win an iPad Mini. Enter to win now!