/*Hi,
I was trying to optimize my application in C.
In that process to reduce the complexity at condition checks which of the below is efficient,*/
if(bFlag1 && !(Var == 1) && bFlag2) //or
if(bFlag1 & !(Var == 1) & bFlag2)
Falcon143 0 Newbie Poster
Rahul47
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
Adak 419 Nearly a Posting Virtuoso
Tumlee 42 Junior Poster in Training
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
Falcon143 0 Newbie 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.