Sunday, May 27, 2012

Debugging questions in c with answers





C debugging interview questions

C debugging questions with answers




1. Write a c program too shutdown
window operating system in TURBO C.


void main(void)
{
system("shutdown -s");
}

Save the above .Let file name is close.c and compile and execute the above
program. Now close the turbo c compiler and open the directory in window you
have saved the close.c (default directory c:\tc\bin)

No comments:

Post a Comment