Dynamic initialization of variables
Explain what is dynamic initialization of the variables?
Expert
C++ allows the initialization of variables at run-time. This is known as dynamic initialization of variables.
In C++, a variable may be initialized at run-time utilizing the expressions at place of declaration as, …….. …...... int n =strlen(string); …….. float area=3.14*rad*rad;
Therefore the declaration and initialization is done at the same time at the place in which the variable is used for first time.
Explain the meaning of member-dereferencing operator?
Explain the meaning of reference variable?
Provide any four benefits of OOPS.
Explain what is return type of the main ()?
Explain what are manipulators?
What is the out put and why? class Class_name main() // Declarations num index num SIZE = 10 num numbers[SIZE] = 0,0,0,0,0,0,0,0,0,0 index = 0 while index < SIZE numbers[index]= index * 10 index = index + 1 endwhile output “The Output is: ” while index > 0 index = index – 1 o
Explain the advantages of C++.
What is encapsulation and data abstraction?
Explain two types of the Polymorphism.
18,76,764
1947257 Asked
3,689
Active Tutors
1434208
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!