Skip to content
Download Android App: Follow Us:
Simple2Code
  • Home
  • Java
    • Java Tutorial
    • Java Programs
    • Java Pattern Programs
  • C
    • C Tutorial
    • C Programs
  • C++
    • C++ Tutorial
    • C++ Programs
  • C#
    • C# Tutorial
    • C# Programs
  • Apps
  • Blog
  • About Us

C Programs

C programming App
C programming App

C Program to Swap Two Numbers without using Third Variable

In this tutorial, we will write a C program to swap two numbers without using a temporary variable. There are two ways to swap variables. Let us go through each of them with a C program. You may check out …

Read moreC Program to Swap Two Numbers without using Third Variable

Categories C Programs Tags c number programs

C Program to Convert Fahrenheit to Celsius

In this tutorial, we will write a C Program to convert Fahrenheit into Celsius. Let us start by understanding the formula for the conversion of Fahrenheit into Celsius. Fahrenheit and Celsius, both are the unit for measuring the temperature. Fahrenheit …

Read moreC Program to Convert Fahrenheit to Celsius

Categories C Programs Tags c basic programs

Infix to Postfix Conversion in C Program using Stack

Stack is very useful for storing data in the manner of the stack. It s useful when comes to the conversion of arithmetic expressions in high-level programming languages into machine-readable form. There are some complicated arithmetic expressions such as (A+B)*C(D/(E+D)). …

Read moreInfix to Postfix Conversion in C Program using Stack

Categories C Programs

Fizz Buzz Program in C

In this tutorial, we will learn about Fizz Buzz Implementation in C programming. Let us start by understanding what Fizz Buzz is and its implementation in a program. Fizz Buzz Program A Fizz Buzz program prints the number from the …

Read moreFizz Buzz Program in C

Categories C Programs Tags c special number programs

C Program to Find Length of a String Using strlen() Function

In this section, we will write a C program to find the length of a string using strlen() function. But before, you may go through the following topic in C programming. The program will take the user input for the …

Read moreC Program to Find Length of a String Using strlen() Function

Categories C Programs Tags c string programs

C Program to Find the Length of a String without using Function strlen()

In this section, we will write a C program to find the length of a string without using strlen() function. But before, you may go through the following topic in C programming. String in C The program will take the …

Read moreC Program to Find the Length of a String without using Function strlen()

Categories C Programs

C Program to Find Second Largest Number in an Array

The following C program finds the second largest element present in an array. The program iterates through an array and compares each element in an array. For example: Input: arr[] = {5, 85, 19, 6, 99, 45}Output: The second largest …

Read moreC Program to Find Second Largest Number in an Array

Categories C Programs Tags c array programs

C Program to Check Whether a Given Number is Prime or Not

In this C programming example, we will learn about the Prime Number program in C. We specifically write a program to check the entered number is prime or not. Prime Number: A Prime Number is a number that is only …

Read moreC Program to Check Whether a Given Number is Prime or Not

Categories C Programs Tags c number programs

C Program to calculate Simple Interest

In this tutorial, we will write a program to find the Simple Interest in C. And the formula to calculate the Simple Interest (SI) is: SI = ((p * r * t) / 100)) where, p = Principal r = …

Read moreC Program to calculate Simple Interest

Categories C Programs Tags c basic programs

C Program to Print Hello World

This is the most basic program where the program prints the hello world. Through this, you can understand the basic structure of the C program. This the basic program for beginners in C. Let us go through an example. Program …

Read moreC Program to Print Hello World

Categories C Programs Tags c basic programs
Older posts
Newer posts
← Previous Page1 … Page8 Page9 Page10 … Page15 Next →

More Topics

  • Java Program to find the sum of the Largest Forward Diagonal
    28 April 2024
  • C Program to search an element in an array using Pointers
    7 January 2024
  • C Program to find the sum of the digits of a number using recursion function
    7 January 2024
  • C program to find factorial of a numberĀ using Ternary operator with Recursion
    6 January 2024
  • C Program to Add Two Numbers Using Call by Reference
    6 January 2024
  • Find the output ab, cd, ef, g for the input a,b,c,d,e,f,g in Javascript and Python
    1 February 2023
  • String Pattern Programs in C
    29 July 2022

Categories

  • C Programs
  • C Tutorial
  • computer fundamentals
  • CPlusPlus Programs
  • CPlusPlus Tutorial
  • CSharp Programs
  • CSharp Tutorial
  • HTML
  • Java Programs
  • Java Tutorial
  • javascript
  • Uncategorised

Simple2Code

  • About Us
  • Privacy Policy
  • Disclaimer
  • Sitemap

Search

Follow Us:
Copyright © 2025 Simple2Code