Is there a ...
Site Language: English
Terms and Conditions
Is there a difference in C++ between declaring a function with empty brackets - func() and with use of the void keyword - func(void)?
There is no difference between the two versions in C++. But in C language if a function is declared with empty brackets as func() then the correspondence check on the types of its arguments is not performed (for bacward compatibility).
C vs C++
What is the result of the following program's execution? ...
What is the difference between X x; and X x(); ?...
Which of the following statements is correct?...
What will the following code's execution print out? #incl...
What does the following construction in a function declaration mean? ...
Login to learn C++
Read more about
Will the following code compile? If no - which lines will compilation errors occ...
What will be printed out as a result of the following program's execution? ...
What will printed out by cout? #include <iostream>...
Which of the following should be true for pointers subtraction to make sense?...
What types of comments are available in C ++?...
Which keyword is used to define a namespace?...
Sign Up Now
Subscribe for future quizzes