ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
Would you rather wait for the results of a quicksort, a 
linear search, or a bubble sort on a 200000 element array?


	

1) Quicksort 	 


2) Linear Search 	 


3) Bubble Sort 	 

 Question Submitted By :: Viju
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort
Answer
# 1
Quicksort
 
Is This Answer Correct ?    1 Yes 2 No
Vishnu948923
[No]
 
  Re: Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort
Answer
# 2
Quicksort is a better option compared to the other twoo...
 
Is This Answer Correct ?    1 Yes 3 No
Shruti
 
 
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
What character terminates all strings composed of character arrays? 1) 0 2) . 3) END  3
what r callback function?  1
what are the general concepts of c and c++  1
Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;  5
how to add numbers without using arithmetic operators. TCS10
biggest of two no's with out using if condition statement  2
what about "char *(*(*a[])())();" Oracle2
how can we use static and extern?and where can we use this? Excel3
how to create c progarm without void main()?  1
Why the use of alloca() is discouraged? Oracle2
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?  2
O,T,T,F,F,S,S,E,N,?,?,?,T,F,F,S,S,E,N ADP9
YBJBU6  1
Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321  2
C passes By value or By reference? Geometric-Software5
How does C++ help with the tradeoff of safety vs. usability?  1
int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p? Verifone6
What should not contain a header file?  2
how many times of error occur in C  7
There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,another has combination of apple and orange,what is the least way of interchange the lables. Google10
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com