Category: C

0

C – While Loops

[rps-include post=6557] Loops are used to loop and iterate through sequential data or similar serial output. Sequential data will be generally an array. For example to search in a array for a specific value while loop can be used. We will look 3 main loop mechanism provided by C programming...

0

C – If Else , Switch, Decision Making

[rps-include post=6557] Conditions or Decisions making is one of the most important aspect of programming languages. Actual programming logic is implemented in the decisions. According to decisions the application will be branched and expected results or operations will be accomplished. There are 3 main decision making mechanisms. We will look in...

0

C Operators – Logical, Arithmetic, Relational

[rps-include post=6557] Operators are leg and arm of the C programming language. A lot of operations done with operators. Operators used to assign, sum, subtract, multiply, divide, remainder, increment, decrement … operations. We will look all of these operations in this chapter. Operators can be grouped like below. Arithmetic Relational...

0

C Constants and Define Preprocessor

[rps-include post=6557] Up to now we have worked with variables. As its names states variables values may change in the flow of application. Variables changes by adding, removing, subtracting etc. This may be ideal solution for most of time but how can we avoid it if we need constant values....

0

C String Variable Type

[rps-include post=6557] String is multiple characters added together. “Hi Poftut” is a string. Actually C do not direct String type but character type is used to store single and multiple characters. Character Character types is defined with char keyword. Single character will hold 1 byte in the memory. Character type normally...

0

C Numeric Variable Types Integer, Long, Float

[rps-include post=6557] As we learn variables are used to store values and variables have type. Type provides information about the value hold in the variable. Numeric types used to hold numerical data like 3 , 3.5 , 23.354354646 etc. Numerical types provides simplicity and performance while making mathematical operations. There...

0

C Variables and Definition

[rps-include post=6557] Most important function is storing data while the application running. The data may be  age, username, picture, full name etc. To hold data variables are used. Variables are stored in the memory. After application run all variables are cleaned. So variables do not persists between application runs. As...

0

C Syntax and Basics

[rps-include post=6557] We have successfully compiled our application. But while compiling we have no detailed information about the program. In this chapter we will look basics of C programming language. Token The smallest part of a C program is tokens. Compilers start by reading source code and parsing tokens. If...

0

Compile C Hello World Program

[rps-include post=6557] Now we are here in start point. We will write a simple application which is generally a Hello World. This is very important because writing, compiling, running a C application is very important for beginners. Hello World Now our code is below. I have written this code very...

1

How To Setup C Development Environment

[rps-include post=6557] We will start with setting up our working environment. To develop C applications we need some compiler . Compiler is a tool that converts our code into executable format for the specified platform. We call specified platform because Windows is different from Mac-OS or Linux. Executable application can be...

Enjoy this blog? Please spread the word :)