Programming in C: Basics
Programming in C: Programming in C: BasicsBasicsCS10001:CS10001: Programming & Data StructuresProgramming & Data StructuresDept. of CSE, IIT KGPPallab DasguptaPallab DasguptaProfessor, Dept. of Computer Sc. & Engg.,Professor, Dept. of Computer Sc. & Engg.,Indian Institute of Technology KharagpurIndian Institute of Technology KharagpurTypes of variableTypes of variable We must We must declare declare thethetype type of every variable we use in C. of every variable we use in C. Every variable has a Every variable has a typetype( ( intint) and a ) and a This prevents some bugs caused by spelling errors (misspelling This prevents some bugs caused by spelling errors (misspelling variable names).variable names).Dept. of CSE, IIT KGP Declarations of types should always be together at the top of main Declarations of types should always be together at the top of main or a function (see later).or a function (see later). Other types are Other types are charchar, , signedsigned, , unsignedunsigned, , longlong, , shortshortand and and KeywordsIdentifiers and Keywords IdentifiersIdentifiers Names given to various program elements (variables, Names given to various program elements (variables, constants, functions, etc.))
Programming in C: Basics CS10001: Programming & Data Structures Dept. of CSE, IIT KGP Pallab Dasgupta Professor, Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur
Download Programming in C: Basics
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
Related search queries
Programming with Robots, Basics, Programming, Visual Basic Programming, Visual Basic, Basic Programming Concepts, Visual C# Programming, VISUAL C# PROGRAMMING BASICS, C Programming Guide for FRC, PIC microcontrollers for beginners too, PIC microcontrollers, for beginners too, C Programming Tutorial, System Programming, C programming, Summary of basic C++-commands, Introduction to the C Programming Language