Computer Science, asked by tannakripa, 3 months ago

in c++ programming what id the meaning of a=2 and a==2 what is the difference between "=" and "=="​

Answers

Answered by darshannarayan29
0

Answer:

a=2

a==2

Explanation:

above a=2 means we are assigning the value 2 to the variable a

then a==2 means we are checking that the value of a is matching with 2 or not

i think this will help u to understand

if any doubt abt c++ concepts let me know i will clear u people doubts

thank you

Similar questions