If a header file is included twice by mistake in the program, will it give any error?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What and all can a compiler provides by default?

3 Answers   Accenture, HP,


How many different levels of pointers are there?

0 Answers   Genpact,


What is an adaptor class or Wrapper class?

1 Answers  


Is there something that we can do in C and not in C++?

14 Answers   Patni,


Out of fgets() and gets() which function is safe to use and why?

0 Answers  


When is dynamic checking necessary?

0 Answers  


What is the size of a vector?

0 Answers  


What is a "Copy Constructor"?

2 Answers  


1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v

5 Answers   Quark,


How to create a pure virtual function?

1 Answers  


What are the uses of c++ in the real world?

0 Answers  


What are different types of typecasting supported by C++

1 Answers   CA,


Categories