int a=0,b=2;
if (a=0)
b=0;
else
b=*10;
What is the value of b ?
Answer Posted / sandeep kumar
if (a=0)
is a wrong statement.
Since it should be
if (a==0)
so, it will throw an error
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Is c programming hard?
Explain the advantages and disadvantages of macros.
Differentiate between static and dynamic modeling.
Explain what are header files and explain what are its uses in c programming?
What is a pointer in c?
How to Throw some light on the splay trees?
What is structure in c language?
Difference between linking and loading?
Explain what are bus errors, memory faults, and core dumps?
Explain bitwise shift operators?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is volatile keyword in c?
What is sizeof int in c?
Explain high-order bytes.
Can you please explain the difference between malloc() and calloc() function?