shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Which compiler you are using?
Bhullarz's Avatar
Skilled contributor
It is turbo c++ compiler....
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
It works for me. Is your file name .c or .cpp . Try to have it as .c file and also remember that some other program compiles correctly and then try to compile the above program so that you know what is the problem.
Bhullarz's Avatar
Skilled contributor
i saved the file with .c extension but still it is giving errors. Kindly check I am attaching the screenshot herewith:
Attached Images
File Type: jpg screenshot.JPG (42.8 KB, 3 views)