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

Consider the following code fragment:
int main(void) {
int m = 4;
mystery ( m );
mystery ( m );
printf("%d", m);
return 0;
}

What is the output on the monitor if mystery is defined as
follows ?

void mystery (int m) {
m = m+3;
}

Answer Posted / rahul darekar

since in c lang we have to define fun first before we use it
but in this program fun mystery() in not defined and still
it is called so it will give error.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum combined length of command line arguments including the space between adjacent arguments?

1037


What are the rules about using an underscore in a c++ identifier?

1248


What does n mean in c++?

1236


why and when we can declar member fuction as a private in the class?

2135


Where is atoi defined?

1202


Explain the register storage classes in c++.

1226


What is flush c++?

1072


What is abstraction in c++?

1426


What is namespace & why it is used in c++?

1173


What are the types of container classes?

1226


What is using namespace std in c++?

1206


What is the full form nasa?

1179


What is the difference between a type-specific template friend class and a general template friend class?

1032


What is endl c++?

1151


What is pure virtual function? Or what is abstract class?

1118