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

Reverse a string in C using pointers

February 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

C program to print vowels in a string

March 1, 2019 rsingh

C program to print vowels in a string and their location. We need to find all vowels (lower case and upper case) in a given

Read More
C Programming Examples

Sum of Digits in C Programming

March 1, 2019 rsingh

Program to calculate sum of digits in C of a number using loop, explained logic and test cases. Example, Input number: 123 Output = 1+2+3

Read More
C Programming Examples

C program for leap year

February 20, 2019 rsingh

C program for leap year – Example with logic, description and C syntax expression to find a leap year. Simple logic to find Leap year?

Read More
C Programming Examples

Factorial program in C

February 20, 2019 rsingh

Factorial program in C with logic and examples using loops ( for, while and do while), functions and Recursion techniques. For example, factorial of a

Read More
C Programming Examples

C Program To Find Largest Number In An Array Easy Way

July 6, 2018 rsingh

C program to find largest number in an array with simple logic and example and test cases. Example: Input Array: 2 6 4 8 9

Read More
C Programming Examples

C Program To Find Smallest Number In An Array So Easy

July 6, 2018 rsingh

C program to find smallest number in an array with easy logic and simple example and test case. Example: Input Array: 2 6 4 8

Read More
C Programming Examples

Print an integer in C – from user input

May 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

String length in C without using strlen

May 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

Length of string in C

May 11, 2018January 29, 2023 rsingh

Program to find length of string in C language using the library function strlen() . Also, includes example of length of string in C programming

Read More

Posts navigation

1 2 … 4 Next

My Unique Books for YOU

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