Which programming language is best?


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

Post New Answer

More C++ General Interview Questions

What is the need of a destructor? Explain with the help of an example.

0 Answers  


What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?

6 Answers   HCL, Integra, IPMC, ORG,


Does c++ support multilevel and multiple inheritances?

0 Answers  


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

2 Answers   Hughes,


Show the declaration for a pointer to function returning long and taking an integer parameter.

0 Answers  






Explain the auto storage classes in c++.

0 Answers  


1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?

5 Answers  


How many types of scopes are there in c++?

0 Answers  


How are virtual functions implemented in c++?

0 Answers  


Write a struct time where integer m, h, s are its members?

0 Answers  


When we use Abstract Class and when we use Interface?where we will implement in real time?

0 Answers  


Define pre-condition and post-condition to a member function in c++?

0 Answers  


Categories