My question is simple ,that on running of a code there is an execution time ,so if there are blank spaces in code , I mean blank spaces not spaces in string or anything ,the execution time will be same or not or it will increase
CodePudding user response:
No, Whitespaces (blank space) in your code are ignored by the compiler, which just skips over them while compiling the code. This also applies to comments.
Spaces will only effect the size of your source code.
CodePudding user response:
Spaces do not have any effect on performance. Before your code executes on the machine, a lot of processing has been done and unnecessary spaces have been stripped away.
Use whitespace wisely to make your code as readable as possible!