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...
Type: Posts; User: sureshhewa
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...
thanks. i got your point
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...
if u guys have some Queues/Stack exercises please post me links.thank you!
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...
thank you soo much. Im little bit careless. thanks for eveyone
strcpy(temp,name[i]);
strcpy(name[i],name[min]);
strcpy(name[min],temp[0]);
you meant like this??
i tried both ways , didn't work
// string sorting
#include<stdio.h>
#include<string.h>
int main(){
char name[5][10]={"suresh","chanaka","sarith","Adnan","queen"};
char temp[10];
thank you laserlight !!! that's the answer . i got your point
typedef struct element{
long int license;
char status,type,arrivalTime[SIZE],departureTime[SIZE],duration[SIZE];
int moveCount;
};
typedef struct parking{
element...
Please tell me how to sort 2D string array according to the alphabetical order.
eg:
cat
rat
dog
ram
Answer must be:
Deital & Deital book is very good for beginners. Balaguruswami's book also a nice one for beginners