Skip to content

Interview Sansar

Software jobs interview preparation source

  • Home
  • Interview Questions
    • C Interview Questions
    • C++ Advanced Interview Questions
    • C++ Basic Interview Questions
    • Core Java Interview Questions
    • Java Collections Interview Questions
    • Java Multithreading Interview Questions
    • C# Basic Interview Questions
    • C# Advanced Interview Questions
    • C# Multi-threading Interview Questions
  • MCQs
    • MCQ-C++
    • MCQ-Java
    • MCQ-SQL
    • MCQs Algorithms and Data Structure
  • Programming Examples
    • C Programming Examples
    • C++ Programming Examples
    • C# Programming Examples
    • SQL Examples
    • Oracle PL SQL Examples
    • Time Complexity
  • Blog
    • C++ interview questions
    • C# interview questions
    • Java Interview Questions
    • Short Interview Questions
    • Behavioural / HR Interview
  • You-Tube
  • About
    • Why Visit
    • Sitemap
    • Contact Us
    • e-author

Category: C Programming Examples

C programming examples with explanation and concept on various topics that is pointers, dynamic allocation, loops, structures, conditional operators if else, switches and more advanced examples and exercises. Also, algorithms and data structures programs examples in C on various topics i.e. sorting, searching, graph algorithms and other data structures topics like array, link list, stack, queue and algorithms puzzle etc. are included.

C Programming Examples

Print 1 to 10 using while loop in C

August 18, 2024May 2, 2018 rsingh

Print 1 to 10 using while loop in C – Use while loop to print 1 to 10. Initialize a num variable by 1 and

Read More
C Programming Examples

Print 1 to 10 using do while loop in C

August 18, 2024May 2, 2018 rsingh

Program example to print 1 to 10 using do while loop in C. Steps are Initialize start number with 1 Initialize target number to 10

Read More
C Programming Examples

Calculate length of array in C – 2 Code Examples

August 18, 2024January 29, 2023 rsingh

Program to calculate length of array in C using sizeof operator with steps explained. Two program examples demonstrations using int array and char array. Consider

Read More
C Programming Examples

String length in C without using strlen

August 18, 2024May 11, 2018 rsingh

Program example to find string length in C programming without using strlen function. Two program examples are shown one using for loop and another using

Read More
C Programming Examples

Print an integer in C – from user input

August 18, 2024May 12, 2018 rsingh

Example to print an integer in C programming from user input. User will be prompted to enter an integer number on console screen. The program

Read More
C Programming Examples

C program to count words in a string – handle spaces

August 18, 2024November 23, 2017 rsingh

C program to count words in a string with simple logic. This program will handle all spaces in the given string. Also, it counts special

Read More
C Programming Examples

C program for area of rectangle

August 18, 2024January 30, 2018 rsingh

Example of C program for area of rectangle –  This program will demonstrate two examples to calculate are of rectangle. First program is very simple

Read More
C Programming Examples

Reverse a string in C using pointers

August 18, 2024February 1, 2020 rsingh

Reverse a string in C using pointers with code example and explanation. Input: I am coding string reverse! Output: !esrever gnirts gnidoc ma I Logic

Read More
C Programming Examples

Example of dynamic array in C Programming

August 18, 2024January 29, 2023 rsingh

Dynamic array in C using malloc library function. Program example will create an integer array of any length dynamically by asking the array size and

Read More
C Programming Examples

Letter frequency counter C program – Using Bucket

August 18, 2024November 30, 2017 rsingh

letter frequency counter C program –  Bucketing mechanism will be used to count frequency of each letters or any characters in a string. also, it

Read More

Posts pagination

Previous 1 2 3 4 Next

My Unique Books for YOU

All Rights Reserved 2023: Interview Sansar.
Proudly powered by WordPress | Theme: Fairy Blog by Candid Themes.