answersLogoWhite

0

All programming languages require types. Some are dynamically-typed while others are statically-typed. C is a statically-typed language. Static-typing means values are bound to types at compile time, thus optimising storage requirements and rejecting invalid operations at compile time. Dynamic-typing means values are bound to types at runtime. While dynamic-typing is more flexible and generally easier to work with, that flexibility comes at a cost in terms of performance and maintenance. Invalid operations will result in runtime errors but, even if no errors occur, the runtime must still test for them, resulting in decreased performance and increased code size. Since C can eliminate type-based errors at compile time, most runtime-checks become redundant, code is more compact and performance is optimal.

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

What is the range of data types in C programming language?

The ranges for all data types in C are implementation-defined.


How do you create a data type of c language in power point?

Presentations do not have data-types, you might have misunderstood somethings.


What is primare datatype in c?

primary datatypes means the data types which are provided by developer of language himself like int,float,double,char are the primary data types in c language where as the String,array are nothing but the derived data types. for Ex.we derived the String data type from char datatype using array system.


What is the Pascal programming language data structure?

In Pascal, data structures are implemented with recorddata types. A record is synonymous with the structdata type in C, or the class data type in C++.


What are derived data types in the C language?

You seem to have lost your text book so I am giving you a link where you can study data types, including derived data types.


Where you are using -127 in character data type in c language?

Anywhere I need to.


Class data types in c?

The data types indicate the type of values that can be stored. The primary data types in c are:1. int, short, long, long long - used for integer values2. float, double - used for storing floating point numbers3. char - used for storing ASCII characters


What types of data used in algorithm?

Whatever data you need. If you need the algorithm to operate with many different types of data, and you are programming in C++, you could use generic programming practices and use templates.


Describe the four basic data types in c?

Describe the basic data types in C Describe the basic data types in C


What is datatype.Define various types of data types?

In c language data types are used to specify the tye of data.for ex:int a;It means "a" is a variable of type integer.There are two types of data types in c.They areprimary data typessecondary data typesprimary data types are the built in data types and secondary data types are the user defined data types.eg for primary data types are int,float,char,long,double..and for secondary are arrays,structures,pointers,unions..


Why percentage i is not used for integer data-type in c language?

C is statically typed. There is no need for dollar or percentage symbols to differentiate between character/string data and numeric data.


Is c plus plus an object oriented language or an object based language?

C++ is object-oriented. It is not object-based because, like C before it, C++ supports the principal of primitive data types, which are not object-based.