What is difference between initialization and assignment?

Answer Posted / suraj

Initialization is a type of assignment done at declaration
level, but assinment can be done anywhere.

Is This Answer Correct ?    23 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c++ have finally?

777


What is pair in c++?

836


Define Virtual function in C++.

873


What is std :: endl?

814


What is the use of turbo c++?

796


What is the purpose of extern storage specifier?

859


What is the advantage of c++ over c?

795


What language does google use?

894


Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort

856


What is null pointer and void pointer and what is their use?

851


What c++ is used for?

871


Is recursion allowed in inline functions?

836


Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300”,”BullCart : 10”) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side

3273


Is c++ a float?

830


Is linux written in c or c++?

817