i wanna know that if a program consists of 10 lines
n if we compile it , it shows increased no of lines compiled why:icon_question:
Because you're not editing your program you're compiling it. The result of a compilation is an executable program (unless there are errors and you just get an error message). You're source code is left unchanged.
When you write things like "i wanna... n if..." it makes you sound 10 years old. Please write English... or at least your best effort if it's not your first language.
Why does it matter. I hope you are not worried about the program
size at 10 lines.
I'm guessing that he thought that compiling the program would alter his source code instead of creating a separate output file (executable). When it didn't he was wondering why. Sounds like his first C++ program so I don't think we should be too harsh. We all started out asking questions that probably sounded silly to the pros.