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 extern variable in c with example?
What are the different types of errors?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
How do you print an address?
What is difference between union and structure in c?
What is the general form of function in c?
What the different types of arrays in c?
What is the difference between array and pointer?
How do I read the arrow keys? What about function keys?
How can you find the exact size of a data type in c?
Explain two-dimensional array.
Write a code to generate a series where the next element is the sum of last k terms.
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
What kind of structure is a house?
Wt are the Buses in C Language