int a=0,b=2;
if (a=0)
b=0;
else
b=*10;
What is the value of b ?
Answer Posted / kishore sharma
a=0;
b=2;
but
condition
if(a=0)(b=0)
so
b=*10;
answer is
b=b*10 (b=0)
b=0*10;
0
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can we declare variable anywhere in c?
How a string is stored in c?
Explain what does it mean when a pointer is used in an if statement?
What are operators in c?
How pointers are declared?
Explain what is the difference between a string and an array?
Which is the memory area not included in C program? give the reason
Is c easy to learn?
Why we not create function inside function.
What is logical error?
How can you draw circles in C?
Why does not c have an exponentiation operator?
What is string in c language?
Difference between goto, long jmp() and setjmp()?
Which is better pointer or array?