Where do I locate the logical or on my keyboard? Thanks for your help in advance.
GrahamShaw2008
0
Newbie Poster
Recommended Answers
Jump to PostIf you don't mean the logical OR operator in C, example follows, then you need to be more specific about what exactly you want to do.
#include <stdio.h> int main ( void ) { if ( 0 || 1 ) /* || is the logical OR operator …
Jump to Post>I cant find it on my keyboard.
Oh dear. It's the vertical bar, placed as the shift value for my backslash key, but it could be somewhere else (or not present at all) depending on the keyboard. Note that the || operator is two vertical bars, not a single key …
All 5 Replies
Narue
5,707
Bad Cop
Team Colleague
GrahamShaw2008
0
Newbie Poster
gautam610
-5
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
GrahamShaw2008
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.