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

Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

1273


What is linked list in c++?

1138


What is new in c++?

1105


How does com provide language transparency?

1020


What is data type in c++?

1019


What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero

1106


What are the implicit member functions of class?

1093


Can non graphic characters be used and processed in C++?

1198


Program to check whether a word is a sub-string or not of a string typed

2042


How do you find out if a linked-list has an end?

1128


Is string an object in c++?

1159


What is the exit function in c++?

993


What are the extraction and insertion operators in c++? Explain with examples.

1201


How one would use switch in a program?

1084


Can class objects be passed as function arguments?

1075