What is a local variable?
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
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
What is the limitation of cin while taking input for character array?
What is prototype in c++ with example?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
What would happen on forgetting [], while deallocating an array through new?
write a program that takes 5 digit no and calculate 2 power that no and print it.
Write a program that read 2o numbers in and array and output the second largest number. Can anybody help??
Explain the difference between class and struct in c++?
How the compilers arranges the various sections in the executable image?
What is the rule of three?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0