What is the difference between const and constexpr?
Answer Posted / glibwaresoftsolutions
• const: Value remains constant; evaluated at runtime.
• constexpr: Evaluated at compile time for optimization.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
What are the advantages of c++? Explain
What is difference between c++ 11 and c++ 14?
What is an inclusion guard?
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
What are iterators in c++?
A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
What is the advantage of an external iterator.
Explain virtual class and friend class.
What is a null object in c++?
What is a literal in c++?
What is a .h file c++?
How many types of modularization are there in c++?
Is swift a good first language?
What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero