C File Input-Output

Most of the programs we have seen so far involve static or dynamic memory. One of the features of C programming language is the ability to read and write files. The information is written to operating system files in binary format and later retrieved in the memory buffer to be read or written. This is … Read more

How to Install Turbo C++ Compiler

C compiler is the most important requirement to practice writing programs. In this article, we walk you through the process of installing Turbo C++ 3.2 compiler. Before installation you must complete the following requirements. Steps to Install Turbo C++ 3.2 Follow these steps to do a fresh installation of  Turbo C++ . Step 1:  Download … Read more

C Library String Functions

You can access the builtin C library functions through header files. The string related functions are located in String.h file. Each function listed below has a specific purpose. Function Description strlen() To find the length of a string. strlwr() Converts a string to lowercase. strupr() Converts a string to uppercase. strcat() Add one string to … Read more

C Strings And Pointers

In the previous lesson, you learned about C string and how they are important to manipulate text in a C program. In this article, you will learn how strings can be accessed and used with pointers. Learn C programming basics and pointer concepts before you begin with this lesson. If you are familiar with them, … Read more

C Strings

A string constant is an array of characters just like an array of integers. It helps to work with words and sentences in C programming. Yet, an array of integers and character array are not the same as strings. Learn basic of C programming before you begin with strings. If you are familiar with the … Read more

C Assignment Operators

The assignment operators assign values to variables. Once values are assigned the variables are evaluated in expressions and return a single value. There are three types of assignments as shown below. 1. Variable = Value( e.g., a = 4)2. Variable = Expression( e.g., a = 3 + b)3. Variable = Variable <Operator> Value (e.g., a … Read more

C Pointers

Pointer is a difficult concept for beginners of C programming language. Yet, you must master this concept because this is probably the most important concept in C language. To learn pointers, you must learn – the pointer notations, the pointer syntax, and basic pointer concepts. What is C pointer? A normal variable store a value … Read more

C Functions

The C functions are another important feature in C language which helps in achieving a particular task. There is at least one function in a C program and it’s called the function. Without the main, there is no C program. You cannot delete the main function, but you can delete other user-defined functions. Why Functions … Read more

C Do-While Loop

The  C do-while loop is a different kind of loop which checks for exit conditions instead of entry condition. So it is very useful if you want a loop that keeps iterating until an exit criterion is met. In a C program, the do-while loop will let you execute your code first and then checks … Read more

C For Loop

The loop is a simpler version of the while loop that we learned in the previous lesson. It has the same components as while loop. For Loop Basics The for loop is more popular because all conditions for loop is declared in one place. Before the for loop starts. Loop variable – It is used … Read more

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.