Copy Linked List using recursive function?
Answers were Sorted based on User's Feedback
Answer / sanket
You can explain with help of diagram nd stack structure of
Recursive function.
Is This Answer Correct ? | 2 Yes | 0 No |
Can a program run without main?
What is rtti in c++?
What do you mean by ‘void’ return type?
Define a way other than using the keyword inline to make a function inline?
Explain "passing by value", "passing by pointer" and "passing by reference" ?
What is pointer -to-members in C++? Give their syntax?
Explain what is oop?
Can we specify variable field width in a scanf() format string? If possible how?
In C++ cout is: a) object b) class c) something else
11 Answers Infosys, Lehman Brothers,
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
What is c++ prototype?
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()