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

Do you know what are pure virtual functions?

1105


What is the function of I/O library in C++ ?

1116


Why can’t you call invariants() as the first line of your constructor?

957


Write about the members that a derived class can add?

933


What are c++ templates used for?

1080


What is the difference between containment and delegation?

1243


What is setf in c++?

1045


Where Malloc(), Calloc(), and realloc() does get memory?

995


What is c++ virtual inheritance?

1073


What is #include iostream?

1191


What is switch case in c++ syntax?

1048


What are the unique features of C++.

1032


How is c++ used in the real world?

980


Why do we need runtime polymorphism in c++?

973


Write about the scope resolution operator?

980