, shahidsaif wrote

Why showing the error in this code. Anyone can let me know.

what compiler or version of Visual Studio do you use?