STL (140)
OOPS (873)
C++ General (2409) Tell us about yourself.
ABB, Amazon, Fidelity, Flextronics, Franklin Templeton, HCL, Hexaware, IBM, Impetus, Infosys, Reliance, Rofous, Silgate, Sutherland, TCS, Thomson Reuters, Virtusa, Wipro,
47 128256Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.
IBM,
13 225701)#include
When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference?
1 4224Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible.
4 11162What are the total number of lines written by you in C/C++? What is the most complicated or valuable program written in C/C++?
2 10289Assume I have a linked list contains all of the alphabets from "A" to "Z?" I want to find the letter "Q" in the list, how does you perform the search to find the "Q?"
2 6875Find the error in the following program struct point {struct point *next; int data; } x; main() {int...data; } x; main() {int i; for(x=p;x!=0;) x=x->next,x++; freelist(x); } freelist(x) {free(x); return }
1 5491
What is the benefit of oop?
Explain what data encapsulation is in c++?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What does oop mean in snapchat?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
How come you find out if a linked-list is a cycle or not?
What will the line of code below print out and why?
Explain the concept of memory leak?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
What is constructor c++?
What is c++ namespace?
What is the difference between passing by reference and passing a reference?
Difference between strdup and strcpy?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?