InterviewSolution
| 1. |
How C Functions Prevents Rework And Therefore Saves The Programmers Time As Well As Length Of The Code ? |
|
Answer» As we know that c allows us to make FUNCTIONS and cal them where ever NEEDED, it prevents rework by calling the same function again and again where ever requires intead for EXAMPLE if we make a funtion that adds two NUMBERS, it can be called anywhere in the program where ever the addintion is needed and we do not need to code again for adding any number. It also shortens the length of the program as we do not need to code again the same thing for next time we can simple call the funtion and use it whenever needed. As we know that c allows us to make functions and cal them where ever needed, it prevents rework by calling the same function again and again where ever requires intead for example if we make a funtion that adds two numbers, it can be called anywhere in the program where ever the addintion is needed and we do not need to code again for adding any number. It also shortens the length of the program as we do not need to code again the same thing for next time we can simple call the funtion and use it whenever needed. |
|