| You are here: | About>Computing & Technology>C / C++ / C#> Glossary> T> Type - Definition |
![]() | C / C++ / C# |
"Definition of Type"Definition: One of the characteristics of computer languages is how strongly typed they are. What happens if you try to assign a numeric variable to a string?
The stricter the compiler is about typing, the less likely you are to get strange behavior or odd crashes. C is not so strictly typed, C++ is stricter and C# strictest of all. When you declare a variable in a program, you specify its type. This can be int, bool, pointer or string etc. This tells the compiler how to handle the variable and check for type errors. Glossary:A B C D E F G H I J K L M N O P Q R S T U V W X Y ZExamples: Index variables should always be declared to be of type int
|
Las Vegas on a BudgetFind a BargainHotel DealsCheap EatsFree AttractionsEntertainment for Less |
All Topics | Email Article | Print this Page | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our Story | Be a Guide |
| User Agreement | Ethics Policy | Patent Info. | Privacy Policy | ©2008 About, Inc., A part of The New York Times Company. All rights reserved. |


