UVA Solution
Programming Contest Problems and Solutions
Question + Answer of C/C++
Question & Answer of C/C++
·
Why can’t variables be declared in a switch statement
·
What is a local block?
·
Should variables be stored in local blocks?
·
When is a switch statement better than multiple if
statements?
·
Can the last case of a switch statement skip
including
the
break
?
·
Is a default case necessary in a
switch
statement?
·
Other than in a
for
statement, when is the comma operator used?
·
What is an lvalue?
·
What is the difference between ++var and var++?
·
What is an rvalue?
·
What does the modulus operator do?
·
How can you tell whether a loop ended prematurely?
·
Do variables need to be initialized?
·
Where in memory are my variables stored?
·
What is page thrashing?
·
What is a const pointer?
·
Can a variable be both const and volatile?
·
When should the volatile modifier be used?
·
When should the const modifier be used?
·
When should the register modifier be used? Does it really help?
·
How can you determine the maximum value that a numeric variable can hold?
·
Are there any problems with performing mathematical operations on different variable types?
·
How can you determine the maximum value that a numeric variable can hold?
Home
Subscribe to:
Posts (Atom)