answersLogoWhite

0

If the data is sorted and every element is directly accessible, then you can perform binary search (see built-in function bsearch), otherwise you have to do linear search (which is slower).

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What is the Advantages and disadvantages of server side includes?

c


What do you mean by non primitive data structure in C programming?

What do you mean by searching in data structure in C.?


What are the Advantages of c over c plus plus?

There are no advantages of C over C++ as such. Everything you can do in C you can also do in C++. However, by taking advantage of C++ object oriented programming, generic programming and template meta programming as well as C-style coding, you can produce more efficient machine code far more easily and more quickly than with C alone.


What are the advantages and disadvantages of using a DVD storage device?

c


What is dynamic programming in computer?

It's a type system. Basically, what it means is that you don't need to specify a type for a variable. Let me give you two examples from two well-used programming languages: int x = 0; and x = 0; In the first example, which if you hadn't guessed it by now is C or C++ or a derivative, whereas the second is from Python, a dynamically-typed language. Both have their advantages and disadvantages.


What are the key features and advantages of using C in software development?

C is a versatile programming language with key features like strong typing, object-oriented programming, and memory management. Its advantages include platform independence, easy integration with other Microsoft technologies, and a large community for support and resources.


What are some of the benefits of programming in C Sharp?

There are many advantages to C sharp programming like: Not having to define the Headers (.h), Classes can be defined within classes, classes and functions can be defined in random order unlike C and C++, Classes and functions don't need to be declared in the program.


What is c and c in computer programming?

C and C++ are both high-level programming languages.


Create a spiral in C programming?

create spiral in c programming?


When was C - programming language - created?

C - programming language - was created in 1972.


What are the advantages and disadvantages of HVAC?

Advantage=no sweating Disadvantage=sweating


What has the author Robert Lafore written?

Robert Lafore has written: 'Object-oriented programming in Microsoft C++' -- subject(s): Object-oriented programming (Computer science), C++ (Computer program language), C. 'Microsoft C. Programming for the I.B.M.Personal Computer' 'Object-oriented programming in C++' 'Windows Programming Made Ridiculously Easy Book' 'The Waite Group's C Programming Using Turbo C++ (The Waite Group)' 'Microsoft C programming for the IBM' 'The Waite Group's Microsoft C programming for the PC' -- subject(s): C (Computer program language), IBM microcomputers, Microsoft C (Computer program), Microsoft C., Programming