STL (140)
OOPS (873)
C++ General (2409) 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 12373Given 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 5856
How to improve object oriented design skills?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
What is inheritance write a program to show use of inheritance?
Write about c++ storage classes?
What are the vectors in c++?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
Tell us the size of a float variable.
What is a container class?
What are arithmetic operators?
What is the use of c++ programming language in real life?
Difference between a homogeneous and a heterogeneous container
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is the disadvantage of using a macro?
What apps are written in c++?