#include <stdio.h> #include <dos.h> int main(void) { if (getcbrk()) printf("Cntrl-brk flag is on\n"); else printf("Cntrl-brk flag is off\n"); return 0; }