Category: C Programs
Posts of Category: C Programs
  1. Enhancing Python with Custom C Extensions

    Enhancing Python with Custom C Extensions Introduction This article is going to highlight the features of CPython's C API which is used to build C extensions for Python. I will be going over the the general wor...Learn More
    PythonC Programs
  2. How to Create C/C++ Addons in Node

    How to Create C/C++ Addons in Node Node.js is great for a lot of reasons, one of which is the speed in which you can build meaningful applications. However, as we all know, this comes at the price of performanc...Learn More
    C ProgramsC++ ProgramsJavaScriptNodejs
  3. Implicit Declaration of Function in C

    Implicit Declaration of Function in C We are very much familiar with the flow control in C where it follows the Top-Down approach, and when we are writing a C program and if we are using any function, we might ...Learn More
    C ProgramsC Tutorials
  4. Sparse Matrix in C

    Sparse Matrix in C In this tutorial, we are going to learn about the sparse matrix in C.  Before we start let us first discuss what a little bit about two-dimensional arrays. A matrix is represented by 2D ...Learn More
    ArrayC ProgramsMatrix
  5. malloc() vs calloc() – Difference Between malloc() and calloc() in C

    malloc() vs calloc() – Difference Between malloc() and calloc() in C Here in this tutorial you will learn about difference between malloc() and calloc() in C. We all know that memory is available in limited siz...Learn More
    C ProgramsC Tutorials
  6. C Program to Read File Line by Line

    C Program to Read File Line by Line Here you will get C program to read file line by line. In below program we first open a demo file hello.txt with some text in read mode. Make sure the file is already present...Learn More
    File HandlingC Programs
  7. Binary Search in C

    Binary Search in C Here you will get program for binary search in C. Binary search algorithm can be applied on a sorted array to search an element. Search begins with comparing middle element of array to target...Learn More
    AlgorithmC ProgramsBinary
  8. How to Generate Random Number in C and C++?

    How to Generate Random Number in C and C++? Here you will get program and learn how to generate random number in C and C++. We can use rand() function to generate random number. It is defined in stdlib.h header...Learn More
    C ProgramsC++ ProgramsC Tutorials
  9. Format Specifiers in C

    Format Specifiers in C In this article you will get list of format specifiers in C. Format specifier is used to specify the data type while reading or writing. For example if you want to print value of an integ...Learn More
    C ProgramsC Tutorials
  10. Difference Between break and continue in C

    **Difference Between break and continue in C** In this tutorial you will learn about difference between break and continue in C. The break statement is used in switch or loops and continue statement is used onl...Learn More
    C ProgramsC Tutorials
  11. How to Swap Two Numbers Without Using Temporary Variable or Arithmetic Operators?

    How to Swap Two Numbers Without Using Temporary Variable or Arithmetic Operators? You have done swapping of two numbers using temporary variable or by using arithmetic operators. It can be done in following ...Learn More
    SimpleC ProgramsC++ ProgramsTutorials
  12. C program to produce the folowing design using *'s

    C program to produce the folowing design using *'s #include <stdio.h> #include <conio.h> void main() { int i, j, n; char ch = 'A'; clrscr(); //to clear the screen printf("How many ...Learn More
    Print FiguresC Programs