Which is better c++ or java?


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

Post New Answer

More C++ General Interview Questions

Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.

1 Answers  


What are the differences between new and malloc?

0 Answers  


Define pointers?

0 Answers  


What is the use of :: operator in c++?

0 Answers  


Is c++ a float?

0 Answers  


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

0 Answers  


Describe the advantages of operator overloading?

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,


Is string data type in c++?

0 Answers  


What are Virtual Functions? How to implement virtual functions in "C" ?

3 Answers  


Do vectors start at 0?

0 Answers  


How are Structure passing and returning implemented by the compiler?

0 Answers  


Categories