How java is different from c and c++?


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

Post New Answer

More C++ General Interview Questions

why the size of an empty class is 1

4 Answers  


Can constructor be private in c++?

0 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,


is throwing exception from a constructor not a good practice ?

5 Answers   Ericsson,


How many lines of code you have written for a single program?

4 Answers   BoA,






Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

0 Answers  


Generally variables are stored in heap memory. When he variables are created in stack?

4 Answers   Persistent,


why can't we declare data member of class auto register or extern

1 Answers  


What is the difference between a pointer and a link in c ++?

0 Answers  


What are structures and unions?

0 Answers  


What is #include iostream h in c++?

0 Answers  


Write a program to interchange 2 variables without using the third one.

0 Answers  


Categories