Which programming language is best?
No Answer is Posted For this Question
Be the First to Post Answer
What is the need of a destructor? Explain with the help of an example.
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?
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
Show the declaration for a pointer to function returning long and taking an integer parameter.
Explain the auto storage classes in c++.
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?
How many types of scopes are there in c++?
How are virtual functions implemented in c++?
Write a struct time where integer m, h, s are its members?
When we use Abstract Class and when we use Interface?where we will implement in real time?
Define pre-condition and post-condition to a member function in c++?