just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
6490wap in c++ which accept a integer array and its size as argument and replaces element having even values with its half and element having odd values with twice its value
1 7360Write an algorithm that determines whether or not an almost complete binary tree is a heap.
TCS,
3433i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
1839
Execute the qsort () in c/sort() in c++ library or your own custom sort which will sort any type of data on user defined criteria.
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
What is diamond problem in c++?
What are the benefits of operator overloading?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Describe Trees using C++ with an example.
Explain polymorphism?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
What is microsoft c++ redistributable?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
List different attributes in C++?
What is c++ programming language?
Should the member functions which are made public in the base class be hidden?
What do you mean by a template?
What is late binding c++?