what is the diff b/n c and c++

a. dynamic scoping
b. nested switching
c. declaration of variables in any code block
d. separation of compilation and linking

Answers were Sorted based on User's Feedback



what is the diff b/n c and c++ a. dynamic scoping b. nested switching c. declaration of vari..

Answer / swetcha

declaration of variables in any code block

Is This Answer Correct ?    5 Yes 1 No

what is the diff b/n c and c++ a. dynamic scoping b. nested switching c. declaration of vari..

Answer / ipsit hota

declaration of variables in any code block

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is type of 'this' pointer?

0 Answers  


Evaluate: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); a) 10 b) 11 c) 1

4 Answers   Quark,


What are the advantages of c++? Explain

0 Answers  


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

0 Answers  


Explain shallow copy?

0 Answers  






Explain Memory Allocation in C/C++ ?

0 Answers   Infosys,


What are features of c++?

0 Answers  


What is singleton pattern in c++?

0 Answers  


Does c++ vector allocate memory?

0 Answers  


How would you represent an error detected during constructor of an object?

1 Answers  


Can a constructor be private?

0 Answers  


What does it mean to declare a member function as virtual?

0 Answers  


Categories