Why typically a long program is divided into


Asked by admin @ in English viewed by 266 People


Why typically a long program is divided into smaller functions or procedures?​

Answered by admin @



Answer:

There are a few potential benefits to breaking big functions up in to smaller functions. Often in large functions you have to do more-or-less the same thing many times. By generalizing this in to a single common function, you can use that one block of code in multiple places.


Similar Questions

How long does an architecture program usually take to complete

Asked by maham237 @ in Business viewed by 291 persons

According to the video how long does an architecture program usually take to complete?

For a typical program the input is taken using

Asked by admin @ in Computer Science viewed by 335 persons

For a typical program, the input is taken using _________a) scanfb) Filesc) Command-lined) All of the mentioned

A typical day in programming and software development would involve

Asked by maham237 @ in Computers And Technology viewed by 333 persons

A.monitoring network connections. B.figuring out why a computer will not turn on. C.using an image-editing program. D. writing code for a software program.

How to divide 457 by 4 in long division

Asked by maham237 @ in Mathematics viewed by 271 persons

Implementation of a six sigma program typically involves

Asked by maham237 @ in Business viewed by 294 persons

Implementation of a Six Sigma program typically involves: Multiple Choice A. Applying for the Malcolm Baldrige Award. B. Setting up training at various levels including green belt and black belt …

According to scholars, the english language is typically divided into how many historical periods?

Asked by maham237 @ in English viewed by 430 persons

According to scholars, the English language is typically divided into how many historical periods? one two three four five

Overcoming fixed mindset: a step-by-step guide to cultivating a growth mindset

Asked by wiki @ in Health viewed by 1231 persons

Which of the following would best complete this list?

Asked by wiki @ in Social Studies viewed by 703 persons

What had the king decided to do before he saw the spider

Asked by vanshika149 @ in English viewed by 1090 persons

Describe the karez in your own words

Asked by rajesh064 @ in English viewed by 1250 persons

What is 8 + (x + 5)?

Asked by jaylord7 @ in Mathematics viewed by 1047 persons

What is the topic of the info grapher

Asked by jesus643 @ in History viewed by 1340 persons

Elephant kills 11 in nepal , woman rescued from a friendly dolphine

Asked by kavin044 @ in English viewed by 1216 persons

Most viewed questions in English


There are ways to spice up one's work amcat

Asked by admin @ in English viewed by 88483 persons


Suxushi pvt company is looking for a laptop passage

Asked by admin @ in English viewed by 38925 persons


Code a contains a set of eight lines

Asked by admin @ in English viewed by 34095 persons



Collins english grammar and composition class 6 answer key

Asked by admin @ in English viewed by 31459 persons


New grammar with a smile class 8 solutions pdf

Asked by admin @ in English viewed by 30826 persons


The orchestra has one whistler who plays instruments well

Asked by admin @ in English viewed by 26482 persons



New learner's english grammar and composition class 8 solutions pdf

Asked by admin @ in English viewed by 24933 persons


Class 8 english my big brother questions and answers

Asked by admin @ in English viewed by 22095 persons


Oxford new pathways english book for class 7 solutions

Asked by admin @ in English viewed by 20283 persons



An it company has decided to recruit software developers

Asked by admin @ in English viewed by 20004 persons


New grammar plus class 6 solutions by ratna sagar

Asked by admin @ in English viewed by 19800 persons


Oxford new learner's grammar and composition class 6 solutions

Asked by admin @ in English viewed by 19774 persons



On thursday night a crowd gathered at union square passage

Asked by admin @ in English viewed by 16590 persons


Reeta and rishika are of the same height

Asked by admin @ in English viewed by 15388 persons


The picture of an ant when enlarged 200 times

Asked by admin @ in English viewed by 14045 persons