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


Please Help Members By Posting Answers For Below Questions

What are loops in c?

553


What is the use of a semicolon (;) at the end of every program statement?

778


Explain modulus operator.

600


Who developed c language?

644


What is preprocessor with example?

591






What is exit() function?

563


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

592


Once I have used freopen, how can I get the original stdout (or stdin) back?

631


all c language question

1878


Is that possible to store 32768 in an int data type variable?

694


write a program in c language to print your bio-data on the screen by using functions.

6253


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1788


What is the significance of scope resolution operator?

865


What is the difference between struct and union in C?

578


How can you tell whether two strings are the same?

836