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 / fazlur rahaman naik
the right answer is d.
| Is This Answer Correct ? | 14 Yes | 6 No |
Post New Answer View All Answers
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Write a program for Overriding.
Describe how arrays can be passed to a user defined function
Is c is a low level language?
Explain #pragma statements.
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What is indirection in c?
What are the difference between a free-standing and a hosted environment?
Explain the advantages of using macro in c language?
What language is c written?
What is the advantage of an array over individual variables?
Explain what math functions are available for integers? For floating point?
How can my program discover the complete pathname to the executable from which it was invoked?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Is r written in c?