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 / 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


Please Help Members By Posting Answers For Below Questions

What is wrong with this initialization?

1015


can any one tel me wt is the question pattern for NIC exam

1990


develop algorithms to add polynomials (i) in one variable

2177


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

1075


Explain the use of keyword 'register' with respect to variables.

1063


in iso what are the common technological language?

2120


Explain how can a program be made to print the line number where an error occurs?

1226


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

1249


What is the difference between NULL and NUL?

1308


What is a #include preprocessor?

1163


Can we declare variable anywhere in c?

983


How to declare a variable?

1015


What is 'bus error'?

1163


What is scope rule in c?

1077


Explain what are the standard predefined macros?

1125