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

Example of macro function in C – Includes multi-line macro

August 18, 2024December 19, 2017 rsingh

Program examples of macro function in C language. Also, includes program example of multi-line macro function. Macro functions example: This C program demonstrate use of

Read More
C Programming Examples

C program for area of circle

August 18, 2024January 31, 2018 rsingh

Example of C program for area of circle using radius or diameter of a circle. Program will use area of circle formula i.e. PI*r*r, where

Read More
C Programming Examples

Get size of data types in C – Using sizeof operator

August 18, 2024February 3, 2018 rsingh

Example to calculate size of data types in C programming using sizeof() operator. The C program example demonstrates size of multiple data types  e.g. size

Read More
C Programming Examples

C hello world program – Every line of code explained

August 18, 2024February 7, 2018 rsingh

Hello world program in C with example. Every line of code is explained and have code comments. This is a simple program that display Hello

Read More
C Programming Examples

How to create an array from user input in C

August 18, 2024February 8, 2018 rsingh

Program to create an array from user input in C using dynamic memory allocation with malloc function.This program will create an integer array by allocating

Read More
C Programming Examples

C structure tutorial | Example and Exercises

August 18, 2024February 10, 2018 rsingh

Structure is a user-defined datatype in C programming which allows to store different data types e.g. int, float, char, array and pointer etc. together. Consider

Read More
C Programming Examples

C Dynamic memory allocation | Explanation | Examples

August 18, 2024February 12, 2018 rsingh

C Dynamic memory allocation – Learn what is dynamic allocation and how to create memory dynamically in C programs using C library functions malloc, calloc,

Read More
C Programming Examples

Pass array to function in C example – By base pointer

August 18, 2024November 29, 2017 rsingh

Program to pass array to function in C with example. To pass the entire array, base address pointer of the array is passed to a

Read More
C Programming Examples

DLL – Dynamic Link Library in C – Steps to Create and Use

August 18, 2024March 9, 2018 rsingh

Example to create and use DLL – Dynamic Link Library in C on windows with simple steps with C source code.  Both implicit and explicit

Read More
C Programming Examples

Char to int C program

August 18, 2024March 21, 2018 rsingh

Conversion of char to int C program – Convert a character digit to the corresponding integer in C program. For example, if the character is

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.