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
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
What is a .lib file in c++?
Is c++ platform dependent?
What is searching? Explain linear and binary search.
What is std :: flush?
why is iostream::eof inside a loop condition considered wrong?
Is overriding possible in c++?
What operator is used to access a struct through a pointer a) >> b) -> c) *
describe private access specifiers?
What is the basic structure of c++ program?
What is the error in the code below and how should it be corrected?
Can a class be static in c++?
What are features of c++?
How many static variables are created if you put one static member into a template class definition?
Write a program to find the Factorial of a number