Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Post New Answer

More C++ General Interview Questions

What is #include iostream?

0 Answers  


What is endl?

0 Answers  


int main() { int i ,a[i]; i = 0; a[i] = 10; cout<< a[i] << endl; return 0; } What will be output of this program?

11 Answers   HCL, Mphasis,


How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)

2 Answers  


How does throwing and catching exceptions differ from using setjmp and longjmp?

1 Answers  


How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?

0 Answers  


Where do I find the current c or c++ standard documents?

0 Answers  


What is the use of namespace std in C++?

0 Answers   Hexaware,


How do you know that your class needs a virtual destructor?

5 Answers   Lucent,


1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?

5 Answers  


Difference between Operator overloading and Functional overloading?

10 Answers   HP,


What are smart pointer? Whats its use?

1 Answers   CTS,


Categories