Question
const int a = 100;
a.
Declares a variable a with 100 as its initial value
b.
Declares a construction a with 100 as its initial value
c.
Declares a constant a whose value will be 100
d.
Constructs an integer type variable with a as identifier and 100 as value
Posted under Object Oriented Programming Using C++
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Regarding following statement which of the statements is true? const int a = 100;
Similar Questions
Discover Related MCQs
Q. The difference between x and ‘x’ is
View solution
Q. How to declare a wide character in string literal?
View solution
Q. Which value we cannot assign to reference?
View solution
Q. Identify the incorrect statement.
View solution
Q. Which reference modifier is used to define reference variable?
View solution
Q. What does a reference provide?
View solution
Q. Identify the correct sentence regarding inequality between reference and pointer.
View solution
Q. Void pointer can point to which type of objects?
View solution
Q. When does the void pointer can be dereferenced?
View solution
Q. The pointer can point to any variable that is not declared with which of these?
View solution
Q. A void pointer cannot point to which of these?
View solution
Q. What we can’t do on a void pointer?
View solution
Q. The data elements in structure are also known as what?
View solution
Q. What will be used when terminating a structure?
View solution
Q. What will happen when the structure is declared?
View solution
Q. The declaration of structure is also called as?
View solution
Q. Which of the following is a properly defined structure?
View solution
Q. Which of the following accesses a variable in structure *b?
View solution
Q. The keyword used to define a structure is _____
View solution
Q. When accessing a structure member, the identifier to the left of the dot operator is the name of
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming Using C++? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!