Search:

Type: Posts; User: Salem

Search: Search took 0.42 seconds.

  1. Thread: gotos

    by Salem
    Replies
    30
    Views
    7,488

    What does this print, and why? #include...

    What does this print, and why?


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

    int main ( ) {
    int a = 4;
    switch ( a ) {
  2. Thread: gotos

    by Salem
    Replies
    30
    Views
    7,488

    Except you can't use goto to jump from one...

    Except you can't use goto to jump from one function to another.
  3. Thread: gotos

    by Salem
    Replies
    30
    Views
    7,488

    > >> why do you people say "gotos should never be...

    > >> why do you people say "gotos should never be used any where under any curcimstances"?
    > Who says that? Please be specific.
    The MISRA coding standard for one.

    From a theoretical aspect, you...
Results 1 to 3 of 3