C Programming Language

C is a powerful general purpose programming language. It can be used to develop software like operating systems, databases, compilers, and so on. C programming is an excellent language to learn to program for beginners.

Our C tutorials will guide you to learn C programming one step at a time.

What is String

In C programming, a string is a sequence of characters terminated with a null character \0. For examples: char str[] = “Topperworld\0”; When the compiler encounters a sequence of characters enclosed in the double quotation marks, it appends a null character \0 at the end by default. Declaring a String in C : A String …

What is String Read More »

Function Pointer in C

In C programming language, we can have a concept of Pointer to a function known as function pointer in C. In this tutorial, we will learn how to declare a function pointer and how to call a function using this pointer. To understand this concept, you should have the basic knowledge of Functions and Pointers …

Function Pointer in C Read More »

Types of Pointers in C

A pointer is a variable pointing to the address of another variable. It is declared along with an asterisk symbol (*). A pointer can also be used to refer to another pointer function. A pointer can be incremented/decremented, i.e., to point to the next/ previous memory location. The purpose of pointer is to save memory …

Types of Pointers in C Read More »

Pointers in C

A pointer is a variable pointing to the address of another variable. It is declared along with an asterisk symbol (*). A pointer can also be used to refer to another pointer function. A pointer can be incremented/decremented, i.e., to point to the next/ previous memory location. The purpose of pointer is to save memory …

Pointers in C Read More »

C Preprocessor Directives

The C preprocessor is a micro processor that is used by compiler to transform your code before compilation. It is called micro preprocessor because it allows us to add macros.All preprocessor directives starts with hash # symbol. Some advantages of using preprocessor are- Readability of the program is increased. Makes the program portable and efficient. …

C Preprocessor Directives Read More »

Operators in C

Operators are symbols that help in performing operations of mathematical and logical nature.The classification of C operators are as follows Arithmetic Relational Logical Bitwise Assignment Conditional Uses of Operators in C:- The operators basically serve as symbols that operate on any value or variable. We use it for performing various operations- such as logical, arithmetic, …

Operators in C Read More »