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

What is the difference between pass by reference and pass by
value?

Answer Posted / anandan

in pass by referance the parameters are passed as the
address of the variables whereas in pass by value the
variables are directly passed as parameters

Is This Answer Correct ?    99 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

2137


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2306


What is the difference between abstraction and polymorphism?

1080


How long to learn object oriented programming?

1067


What is the main purpose of inheritance law?

1184


What are benefits of oop?

1115


What is overloading in oops?

1144


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

2120


What is polymorphism in oop example?

1004


What is a function in oop?

1072


What is the difference between a constructor and a destructor?

1237


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2276


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1843


Why do we need oop?

1172


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2355