Which expression always return true? Which always return false?

      expression if (a=0) always return false      expression if (a=1) always return true

Showing Answers 1 - 6 of 6 Answers

ashutosh pareek

  • Mar 30th, 2005
 

because 0 and 1 are binary value

  Was this answer useful?  Yes

ashutosh pareek

  • Mar 30th, 2005
 

is it possible in c programming we can allocate memory to data of our choicenull

  Was this answer useful?  Yes

Vikramojha

  • Jan 31st, 2010
 

Here the question exactly means the statement which will always irrespective of any condition and the statement which will never execute, so here if we use
if (1) it will always execute or will return true and
the statement if (0) will never execute or will always return false.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions