VMS Help  —  CRTL  assert  Example
        #include <stdio.h>
        #include <assert.h>

        main()
        {
            printf("Only this and the assert\n");
            assert(1 == 2);     /* expression is FALSE */

    /* abort should be called so the printf will not happen. */

            printf("FAIL abort did not execute");
        }
Close Help