W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
All fields
“Const Correctness” in Information Technology
15 questions across 2 technologies.
Information Technology
15 questions in 2 technologies
#
Question
Technology
Topic
Level
1
Why is
const
correctness
important in API design?
C++ › Const Correctness
C++
Const
Correctness
Intermediate
2
What does
const
mean in C++?
C++ › Const Correctness
C++
Const
Correctness
Beginner
3
What is a
const
member function?
C++ › Const Correctness
C++
Const
Correctness
Beginner
4
Why should you pass objects by
const
reference?
C++ › Const Correctness
C++
Const
Correctness
Beginner
5
What is a
const
ant reference and why is it useful?
C++ › Const Correctness
C++
Const
Correctness
Beginner
6
What is the difference between
const
pointer and pointer to
const
?
C++ › Const Correctness
C++
Const
Correctness
Intermediate
7
What is
const
_cast and when is it (rarely) appropriate?
C++ › Const Correctness
C++
Const
Correctness
Intermediate
8
What is the difference between physical and logical
const
ness?
C++ › Const Correctness
C++
Const
Correctness
Advanced
9
How do you overload a member function on
const
?
C++ › Const Correctness
C++
Const
Correctness
Advanced
10
How does
const
propagate with member objects and pointers (
const
propagation)?
C++ › Const Correctness
C++
Const
Correctness
Advanced
11
What is the relationship between
const
and thread safety?
C++ › Const Correctness
C++
Const
Correctness
Advanced
12
What is the mutable keyword?
C++ › Const Correctness
C++
Const
Correctness
Intermediate
13
What is the difference between
const
and
const
expr?
C++ › Constexpr & Compile-Time
C++
Const
expr & Compile-Time
Beginner
14
What happens to the performance and
correctness
of a view if the underlying tables change significantly after the view was originally created?
SQL Server › Views
SQL Server
Views
Advanced
15
What is an immediately invoked lambda expression (IILE) and why use it?
C++ › Lambda Expressions
C++
Lambda Expressions
Intermediate