You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.
4 11167Given 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 ].
1 5054
explain sub-type and sub class? atleast u have differ it into 4 points?
What are the advantages of inheritance in c++?
List the issue that the auto_ptr object handles?
why is c++ called oops? Explain
Explain about Virtual Function in C++?
Define a nested class.
What is DlgProc?
Why is c++ still used?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
What is meant by iomanip in c++?
Get me an image implementation program.
What do you mean by function and operator overloading in c++?
Explain the concept of friend function in c++?
Why struct is used in c++?
Why do we use polymorphism?