Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Write a code of a general series where the next element is the sum of last k terms.

1020


With the help of using classes, write a program to add two numbers.

1016


What is meant by type casting?

1046


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

2006


What is the difference between array and pointer in c?

1137


What will the preprocessor do for a program?

1055


How can I pad a string to a known length?

1012


What is selection sort in c?

1061


Explain how can a program be made to print the name of a source file where an error occurs?

1179


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

3129


Difference between macros and inline functions? Can a function be forced as inline?

1247


Explain two-dimensional array.

1040


What does dm mean sexually?

1298


Explain what is the best way to comment out a section of code that contains comments?

1126


Where can I get an ansi-compatible lint?

1125