Which is better c++ or java?
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.
What are the differences between new and malloc?
Define pointers?
What is the use of :: operator in c++?
Is c++ a float?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
Describe the advantages of operator overloading?
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
Is string data type in c++?
What are Virtual Functions? How to implement virtual functions in "C" ?
Do vectors start at 0?
How are Structure passing and returning implemented by the compiler?