Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
Hello I m in C and how could I use true or false (&&)? Thanks for the ans :)
0
votes
asked
Jan 31, 2019
by
jaki mmc
(
120
points)
Please
log in
or register to answer this question.
1 Answer
+2
votes
answered
Feb 13, 2019
by
Carlo Messere
(
190
points)
&& is the AND operator meaning that both the statements must be true for the condition to be true as well.
So for example if(x > 1 && y > 1) will be True when both x and y are greater than 1.
commented
Feb 13, 2019
by
auraGB
(
250
points)
lmao he is lying to you "&&" is a pointer!!!!!!! a pointer is like a bool )
Please
log in
or register to add a comment.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...