Write a c program such that when we will click its .exe file then it will open internet explorer at infinite times?

Answer:

Write the following program in TURBO C.

void main (void)

{

for(; ;)

{

system("c:\\progra~1\\intern~1\\iexplore.exe");

}

}

Save the above .Let file name is internet.c and compile the above program. Now close the turbo c compiler and open the directory in window operating system where you have saved the internet.c (default directory c:\tc\bin)and double click on its exe file (internet.exe).

Post a Comment