int a=0,b=2;
if (a=0)
b=0;
else
b=*10;
What is the value of b ?
Answer Posted / akash
The value of b will be 20.
Because when a=0 is presented in if condition, it will take it as false condition. So the else block will execute.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What is multidimensional arrays
how to execute a program using if else condition and the output should enter number and the number is odd only...
Differentiate between static and dynamic modeling.
Can we change the value of #define in c?
What is static identifier?
What is the difference between struct and union in C?
What is extern variable in c with example?
What are void pointers in c?
What is the size of structure in c?
how to find anagram without using string functions using only loops in c programming
can we implement multi-threads in c.
Why we use int main and void main?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
what does static variable mean?