Posts

Showing posts with the label Cpp Program

Uses of C Programming Language

Image
Uses of C Programming C is a powerful,portable and elegantly structured programming language. since C combine the feature of high level language with element of assembler, it is suitable for both systems as well application programming. It is undoubtedly the most widely used general-purpose language in operating system development.Its influence is evident in almost all modern programming language.since its standardization in 1989 ,C has undergoes a series of change and improvement in order to enhance the usefulness of the language ,the version that incorporates in order to enhance the usefulness of the language. The version that incorporates the new feature is now referred to as C99 It is the most popular computer language today because it is structured,high level,machine independent language.It allows software developer to develop program without worring about the hardware performs where they will be implemented. C is a low level Programming Language...

Lesson No-4 Data Types and Variables in C language

Image
Data Types and Variables in C language Data Types and Variables In this section  we will cover the concept of data types and how we can use those to create variables, we will also do a basic output of variables to show how to do more advanced console output. Data Types and Variables What is a Data Type? Simply put, a data type  is a representation of some sort of real-world value. Now, as you probably have picked up, I'm not going to be keeping it simple, the whole point in learning C is to understand the way your computer works at a deeper level (and C is an awesome language, can't forget that). Let's talk about memory. Type Size (bytes) Range Int or signed int 2 -32,768 to 32767 Unsigned int 2 0 to 65535 Short int or signed short int 1 -128 to 127 Unsigned short int 1 0 to 255 Long int or signed long int 4 -2,147,483,648 to 2,147,483,647 U...