Search:

Type: Posts; User: vinayks

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,052

    you can use............... while(1){ //do...

    you can use...............


    while(1){
    //do something
    if(some condition) break;
    //do something
    }
  2. Replies
    5
    Views
    3,521

    cant you just use another variable.........

    cant you just use another variable.........
  3. Replies
    5
    Views
    1,932

    got it... thanks to all

    got it...

    thanks to all
  4. Replies
    5
    Views
    1,932

    what is the size of following struct

    consider the following struct



    struct something {
    int i;
    struct something *somepointer;
    } somevariable;
  5. Replies
    8
    Views
    1,254

    But if I declare something like this char...

    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
  6. Replies
    8
    Views
    1,254

    But..........

    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...
  7. Replies
    8
    Views
    1,254

    Signaling end of a String

    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 <...
Results 1 to 7 of 7