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
Why we use conio h in c?
Explain what is a static function?
What are terms in math?
Calculate 1*2*3*____*n using recursive function??
Can the sizeof operator be used to tell the size of an array passed to a function?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
What is the difference between malloc() and calloc()?
Which is the memory area not included in C program? give the reason
What are the applications of c language?
How can I call a function with an argument list built up at run time?
What is the correct code to have following output in c using nested for loop?
Define VARIABLE?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What is a dynamic array in c?
What are the types of pointers in c?