Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Explain how do you declare an array that will hold more than 64kb of data?

0 Answers  


What are conditional operators in C?

0 Answers   Adobe,


write a program to print infinte number

4 Answers  


Is c procedural or object oriented?

0 Answers  


write a program to rearrange the array such way that all even elements should come first and next come odd

0 Answers  






How can I use a preprocessorif expression to ?

0 Answers  


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

0 Answers   Infosys,


Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?

1 Answers  


long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

18 Answers   Acropolis, HCL, Intel, TCS,


write a program for egyptian fractions in c?

1 Answers   Satyam,


how many error occurs in C language ?

22 Answers   Infosys, Wipro,


Differentiate abs() function from fabs() function.

0 Answers  


Categories