# Search:

Type: Posts; User: sureshhewa

## Search: Search took 0.01 seconds.

by sureshhewa
Replies
4
Views
5,948

### i know those. i need practical exercises ...

i know those. i need practical exercises

eg: 2[9/4{(3+3)-2}]
to check whether this expression correct or wrong we can use a stack and figure out brackect are placed in order or not

i need...
2. ## Thread: efficiency of a programming

by sureshhewa
Replies
7
Views
1,813

3. ## Thread: efficiency of a programming

by sureshhewa
Replies
7
Views
1,813

### ok. think of it this way. now i have to write a...

ok. think of it this way. now i have to write a programme. I have 2 strategies to solve it.
1.I can use an extra structre array which will allocate160bytes
2. I can put nested loop which will be...

by sureshhewa
Replies
4
Views
5,948

### Queues/Stack exercises

if u guys have some Queues/Stack exercises please post me links.thank you!
5. ## Thread: efficiency of a programming

by sureshhewa
Replies
7
Views
1,813

### efficiency of a programming

when we consider efficiency of a programme, what is the main fact we have to consider about?? Is it Using less variables(Memory) or using less loops. I know we have to consider both. BUt what is the...

by sureshhewa
Replies
8
Views
1,247

### thank you soo much. Im little bit careless....

thank you soo much. Im little bit careless. thanks for eveyone

by sureshhewa
Replies
8
Views
1,247

### strcpy(temp,name[i]);...

strcpy(temp,name[i]);
strcpy(name[i],name[min]);
strcpy(name[min],temp[0]);

you meant like this??

by sureshhewa
Replies
8
Views
1,247

### i tried both ways , didn't work

i tried both ways , didn't work

by sureshhewa
Replies
8
Views
1,247

### sorting strings

// string sorting

#include<stdio.h>
#include<string.h>

int main(){

char temp[10];

by sureshhewa
Replies
2
Views
760

### thank you laserlight !!! that's the answer . i...

thank you laserlight !!! that's the answer . i got your point

by sureshhewa
Replies
2
Views
760

### structure matter

typedef struct element{

char status,type,arrivalTime[SIZE],departureTime[SIZE],duration[SIZE];
int moveCount;
};

typedef struct parking{
element...
12. ## Thread: sorting 2D string array

by sureshhewa
Replies
14
Views
7,439

### sorting 2D string array

Please tell me how to sort 2D string array according to the alphabetical order.

eg:

cat
rat
dog
ram