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 / sachin arora
Answer a=2
because f is a function and that time STACK concept are
used ,in a function last value a is printed and a=2;
so result will b 2
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between far and near ?
What are structures and unions? State differencves between them.
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Is this program statement valid? INT = 10.50;
Which is better malloc or calloc?
How many types of functions are there in c?
How can I automatically locate a programs configuration files in the same directory as the executable?
Explain what are header files and explain what are its uses in c programming?
What are shell structures used for?
Suggesting that there can be 62 seconds in a minute?
Where does the name "C" come from, anyway?
What are c identifiers?
Is c easy to learn?
Explain zero based addressing.
What is getch() function?