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 search an element in an array using Pointers

A separate function( search_function()) will be created where the array pointer will be declared and the searched element along with the size of an array will be passed. The function will return 1 if any element matches with the searched …

Read moreC Program to search an element in an array using Pointers

Categories C Programs Tags c array programs

C Program to find the sum of the digits of a number using recursion function

This C program calculates the sum of digits of a given number using recursion. Here’s a concise explanation: Output: Enter a number: 123 Sum of digits of a number: 6 Learn more on recursion.

Categories C Programs Tags c number programs, c special number programs

C program to find factorial of a number using Ternary operator with Recursion

Recursion refers to the function calling itself directly or in a cycle. Before we begin, you should have the knowledge of following in C Programming: This C program calculates the factorial of a given number using recursion and the ternary …

Read moreC program to find factorial of a number using Ternary operator with Recursion

Categories C Programs Tags c number programs

C Program to Add Two Numbers Using Call by Reference

The program takes the two numbers from the user and passes the reference to the function where the sum is calculated. You may go through the topic below. Output: Enter the first number: 15.5Enter the Second number: 20.5Sum of the …

Read moreC Program to Add Two Numbers Using Call by Reference

Categories C Programs Tags c number programs

String Pattern Programs in C

In this tutorial, we will write various C pattern programs for String. Before that, you may go through the following topics in C. for loop in C C Pyramid String Pattern: 1 Enter the string: SIMPLE2CODEEnter the no. of rows: …

Read moreString Pattern Programs in C

Categories C Programs

Program to Print Diamond Alphabet Patterns in C

In this tutorial, we will learn to write a C program to print Diamond patterns using alphabets/characters. However, in this tutorial, we will create a character pattern in C using for loop. So you may go through the following topic …

Read moreProgram to Print Diamond Alphabet Patterns in C

Categories C Programs

Half Diamond Pattern in C using Alphabets

In this tutorial, we will learn and code the half diamond alphabet patterns in C programming language. However, in this tutorial, we will create a character pattern in C using for loop. So you may go through the following topic …

Read moreHalf Diamond Pattern in C using Alphabets

Categories C Programs

Half Pyramid of Alphabets in C

In this tutorial, we will learn and code alphabet patterns in C programming language specifically the Half pyramid of alphabets in C programming. However, in this tutorial, we will create a pyramid character pattern in C using for loop. So …

Read moreHalf Pyramid of Alphabets in C

Categories C Programs

Inverted Half Pyramid Pattern of Alphabets in C

In this tutorial, we will write a C program to print half Pyramid using alphabets/characters. Before that, you may go through the following topic in C. for loop in C Pattern 1: C program for character/alphabet. Enter the no. of …

Read moreInverted Half Pyramid Pattern of Alphabets in C

Categories C Programs

C Program to Print Multiplication Table

In this tutorial, we will write a C program to print a multiplication table for any number. Before that, you may go through the following topic in C. C- while loop C Program to Print Multiplication Table using While loop …

Read moreC Program to Print Multiplication Table

Categories C Programs
Post navigation
Older posts
Page1 Page2 … 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