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

Explain the difference between abstract class and interface in c++?

752


What is fflush c++?

779


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

849


Why #include is used?

814


Explain the volatile and mutable keywords.

842


What are enumerations?

864


What is the disadvantage of using a macro?

813


Write a program in c++ to print the numbers from n to n2 except 5 and its multiples

2254


What are the storage qualifiers?

900


Write about the access privileges in c++ and also mention about its default access level?

836


How do you print a string on the printer?

807


What is the difference between strcpy() and strncpy()?

855


What is the default access level?

830


What is the size of a vector?

815


Write syntax to define friend functions in C++.

825