C Programming

C is a general-purpose, middle-level, compiler-based, and procedure or function-oriented structured programming language. It was developed by Dennis Ritchie at Bell Laboratories in 1972. The main purpose of developing C was to write operating systems.

Related Pages

String Copy in C Language

We will write a program for string copy in C programming. This can be done using strcpy() function which is defined in <string.h>. The same thing can be done without using this predefined function. String Copy without using string manipulation library functions Output:- Enter first String: Know Program Second string is: Know Program We take […]

String Copy in C Language Read More »

Convert Uppercase to Lowercase in C

Here we will discuss how to convert uppercase to lowercase character in C? C program to convert uppercase to lowercase using string function. We will also write C program to convert uppercase to lowercase without using string function. Write a C Program to convert uppercase into lowercase. To convert all uppercase into lowercase one function

Convert Uppercase to Lowercase in C Read More »

String Concatenation in C

We will write a Program for string concatenation in C language. If First string is “Programming is awesome, ” and the second string is “I love it.” then after concatenation first string will be “Programming is awesome, I love it.“ Concatenate two strings without using string manipulation library functions We can write a C program

String Concatenation in C Read More »

C Program to Compare Two Strings

Here we will write a C program to compare two strings without using any predefined function and using strcmp() or strncmp() functions, for these functions the Required header file is <string.h> C program to compare two strings without using string manipulation library functions Output:- Enter first string: KnowProgram Enter second string: KnowProgram Strings are equivalent.

C Program to Compare Two Strings Read More »

Compile and Execute the C Program

There are numerous compilers and text editors we can use to compile and execute the C program. These compilers and text editors may differ from system to system. Run C Program Online There are several sites that allow us to run C programming online. But online compilers have some limitations. We can’t work with files.

Compile and Execute the C Program Read More »

Fork in C

Previously, we get Process ID or PID and Parent process ID using C programming. Now, we will see fork() in C. In Linux, each running task is known as “Process”. From one process we can create another process. To do this fork() library function will be used. fork() split one process into two processes:- parent

Fork in C Read More »