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
What is the right way to use errno?
Tell us something about keyword 'auto'.
What is a spanning Tree?
What is difference between structure and union in c programming?
What is the difference between char array and char pointer?
What is queue in c?
Is register a keyword in c?
What is memory leak in c?
Explain how do you determine the length of a string value that was stored in a variable?
why return type of main is not necessary in linux
What is a program flowchart and how does it help in writing a program?
Why c language?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
What are header files in c programming?
How do you redirect a standard stream?