you can use...............
while(1){
//do something
if(some condition) break;
//do something
}
Type: Posts; User: vinayks
you can use...............
while(1){
//do something
if(some condition) break;
//do something
}
cant you just use another variable.........
got it...
thanks to all
consider the following struct
struct something {
int i;
struct something *somepointer;
} somevariable;
But if I declare something like this
char array[40];
array[3]='\0';
what happens to all the memory after location 3.....I cant use malloc here....is this a good way of programing...
Thanks
But I have memory allocated much more than what is required....isnt that kindof memory leak......in programs with large memory requirements this may be a hazard.....isnt its kindof allocating memory...
In C the end of a String is identified by the special null character '\0'
One way of shortening the length of the String from m to n where
m < n <...