Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int i, j, N;
- j=0;
- N = len(MyArray)/len(char);
- char* tempArray[N] //malloc this if it doesnt like variable length arrays
- while(i=0; i<N; i++){
- if(MyArray[i]<123 && MyArray[i]>96){
- tempArray[j] = MyArray[i];
- j++;
- }
- }
- while(i=0; i<N; i++){
- if(MyArray[i]<91 && MyArray[i]>64){
- tempArray[j] = MyArray[i];
- j++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement