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
what is level of tree if leaf node is at level 4.please explain.
Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
How #define works?
What is %g in c?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
how to make program without <> in libray.
What are the functions to open and close file in c language?
What is malloc() function?
What does s c mean on snapchat?
write a program to insert an element at the specified position in the given array in c language
main() { int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ; int i, j , k=99 ; for(i=0;i<3;i++) for(j=0;j<4;j++) if(a[i][j] < k) k = a[i][j]; printf("%d", k); }
4 Answers Vector, Wipro, Zoho,