What does the following code do: int c=0; cout<
a) Undefined *Updated*
b) 01
c) 00
No Answer is Posted For this Question
Be the First to Post Answer
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
What is the Difference between "printf" and "sprintf"?
7 Answers iSoft, PentaWare, TCS,
What are the two main components of c++?
What is the difference between interpreters and compilers?
What is the identity function in c++? How is it useful?
What is a c++ map?
How do you allocate and deallocate memory in C++?
What is a "Copy Constructor"?
What is the Maximum Size that an Array can hold?
55 Answers Adobe, FutureSoft, HCL, Infosys, Satyam, TCS, Wipro,
Why was c++ made?
What is the benefit of encapsulation?
What is static in c++?