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()
{
int a=2;
f1(a++);
}
f1(int c)
{
printf("%d", c);
}
c=?

Answer Posted / banavathvishnu

a value will be first assigned to C in the Function and
latter it will be incremented in f() function.
so the value C remains 2

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can type-insensitive macros be created?

1220


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1738


Tell us bitwise shift operators?

1147


What is wrong in this statement? scanf(“%d”,whatnumber);

1289


What is the difference between class and object in c?

1244


Do you know the use of 'auto' keyword?

1267


By using C language input a date into it and if it is right?

1134


What is output redirection?

1279


What is unsigned int in c?

1056


What is the difference between abs() and fabs() functions?

1182


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1137


What are formal parameters?

1175


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1144


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1947


Does c have circular shift operators?

1302