Why did C language become static programming?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Trainer for Python, Data Science, Embedded Systems

C Language is a statically typed language.So it is sometimes referred to as Static Programming. C Programming is used in most of the conventional Mission Critical Projects where the scope of error is expected to be minimum. This is not be confused with Static Keyword or Static Memory Allocation principle. Static...
read more
C Language is a statically typed language.So it is sometimes referred to as Static Programming. C Programming is used in most of the conventional Mission Critical Projects where the scope of error is expected to be minimum. This is not be confused with Static Keyword or Static Memory Allocation principle. Static Typing Static typing means that types are known and checked for correctness before running your program. This is often done by the language's compiler. For example, the following Java method would cause a compile-error, before you run your program: /* C code */ int num, sum; // explicit declaration num = 5; // now use the variables sum = 10; sum = sum + num; Dynamic Typing Dynamic typing means that types are only known as your program is running. For example, the following Python (3, if it matters) script can be run without problems: def erroneous(): s = 'cat' - 1 print('hi!') It will indeed output hi!. But if we call erroneous: def erroneous(): s = 'cat' - 1 erroneous() print('hi!') A TypeError will be raised at run-time when erroneous is called. read less
Comments

Related Questions

How do I learn C++ from the basics?
prepare for header files and write a program and do that it will get devoleped
Priyanka
0 0
6
Can an array be an lvalue?
When you say array, do you mean array name i.e. address, or array element. Yes, array element can be lvalue
Vinodha
How do you sort filenames in a directory?
The idiomatic way to sort something in C is to use the qsort() function. For this to work, it's best if you can arrange to have all the file names collected into an array of pointers, and then you sort...
Ajay
0 0
9
Why is C programming language called C?
The C programming language is named "C" because it was developed as a successor to an earlier programming language called "B." B was created by Ken Thompson at Bell Labs in the early 1970s, primarily for...
Ashwini
0 0
6
Why is the C program giving the wrong output?
Hai, maybe the syntax in the program was wrong, once check it and try again.
Chandra
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons


10 Tips to improve your learning
1. Have a quick revision of topics that you have read in past three days before you start studying a new topic. 2. Make your own notes containing the summary of the topic. 3. Allot proper timing for...

4 Things Every Tech Startup Needs to Know About The Coaching Industry
Knowledge on any subject is widely available to those who wish to learn. However, just gathering knowledge from other people doesn’t guarantee results in business. Results come from applying what...

Why Indexing Should Start From Zero In Array ?
Why numbering should start at zero? To denote the subsequence of natural numbers 2, 3, ..., 12 without the pernicious three dots, fourconventions are open to usa) 2 ≤ i < 13b) 1 < i ≤ 12c)...

Everything about printf in C language
What is printf and from where it comes from in C code.? You must have used printf so many times in your Car programs but do you really know everything about printf? Let's see. What is the full form...

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you