What is difference between initialization and assignment?

Answer Posted / zuber

Initialization can be can be done at the time of
declaration where as assiginment can be done anywhere

Is This Answer Correct ?    55 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

610


How many namespaces are there in c++?

534


What is a virtual destructor? Explain the use of it?

518


What are special characters c++?

542


When to use “const” reference arguments in a function?

559






How a macro differs from a template?

612


What are the restrictions apply to constructors and destructors?

614


Explain the difference between class and struct in c++?

564


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

611


What are the uses of typedef in a program?

590


State the difference between delete and delete[].

548


What is the difference between a definition and a declaration?

553


How would perform Pattern Matching in C++?

623


If a header file is included twice by mistake in the program, will it give any error?

524


What is stl containers in c++?

557