Search:

Type: Posts; User: Elysia

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    3,168

    The compiler does nothing. The operating system...

    The compiler does nothing. The operating system itself controls that aspect.
    Also remember that your code is undefined and is not and never guaranteed to "inherit" some memory previously used.
  2. Replies
    8
    Views
    3,168

    main( ) { struct animal { char name[25]; ...

    main( )
    { struct animal
    { char name[25];
    char breed[25];
    int age;
    } *pet1, *pet2;

    First, main returns int: http://cpwiki.sourceforge.net/Implicit_main
    Secondly, please avoid...
Results 1 to 2 of 2