f(x,y,z)
{
y = y+1;
z = z+x;
}
main()
{
int a,b;
a = 2
b = 2;
f(a+b,a,a);
print a;
}
what is the value of 'a' printed
Answer Posted / ravi
no change in value of a.
i.e,a = 2 only .
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is wrong with this initialization?
can any one tel me wt is the question pattern for NIC exam
develop algorithms to add polynomials (i) in one variable
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
Explain the use of keyword 'register' with respect to variables.
in iso what are the common technological language?
Explain how can a program be made to print the line number where an error occurs?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is the difference between NULL and NUL?
What is a #include preprocessor?
Can we declare variable anywhere in c?
How to declare a variable?
What is 'bus error'?
What is scope rule in c?
Explain what are the standard predefined macros?