read the folllowing code
# define MAX 100
# define MIN 100
....
....
if(x>MAX)
x=1;
else if(x<MIN)
x=-1;
x=50;
if the initial value of x=200,what is the vlaue after
executing this code?
a.200
b.1
c.-1
d.50

Answer Posted / divakar

50. irrespective of the if and else if at last ur assigning
x=50

Is This Answer Correct ?    24 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do the 'c' and 'v' in argc and argv stand for?

642


What is wrong with this initialization?

585


Why n++ execute faster than n+1 ?

1839


Explain built-in function?

587


Explain what are its uses in c programming?

590






What is structure in c language?

615


List out few of the applications that make use of Multilinked Structures?

1288


what is the function of pragma directive in c?

620


Write a program to show the change in position of a cursor using c

575


What is c token?

603


Why we use conio h in c?

580


Why we use void main in c?

590


Is that possible to add pointers to each other?

894


What is null pointer constant?

592


What is masking?

633