A mXn matrix is given and rows and column are sorted as
shown below.Write a function that search a desired entered
no in the matrix .with minimum complexity
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
No Answer is Posted For this Question
Be the First to Post Answer
What are special characters c++?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
The "virtual" specifier in a member function enables which one of the following? a) Monmorphism b) Late binding c) Metamorphism d) Solomorphism e) Inheritance
What is the function of the keyword ‘volatile’ in C++?
Check for Balanced Parentheses using Stack?
Why Pointers are not used in C++?
Explain linear search.
What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?
6 Answers HCL, Integra, IPMC, ORG,
Explain the difference between struct and class in terms of access modifier.
Does c++ support exception handling?
Is there anything you can do in C++ that you cannot do in C?
Is c++ high level programming language?