Skip to content
  • Home
  • C Tutorial
  • C Programming Examples
  • Interview Questions
    • C Interview Questions
    • Embedded C Interviews
    • Interview Questions On bitwise Operators C
    • Interview Questions On Memory Allocation C
    • Interview Questions on string C
    • Multiple Choice Questions In C
    • C++ Interview Questions
    • I2C Interview Questions
    • Programming Language MCQ
    • Python Interview Questions
    • Can protocol interview questions
    • C# Interview Questions
  • Video Courses
    • Embedded System
      • Mastering Microcontroller
      • Mastering RTOS
      • Embedded Linux
      • Arduino Step by Step
      • Ultimate Guide to Raspberry Pi
      • Electronics and PCB Design
      • VHDL and FPGA Development
      • Learn electricity & electronics
      • PLC Programming From Scratch
    • Data Science Course
      • Data Science Course 2020
      • Machine Learning A-Z
      • Machine Learning, Data Science and Deep Learning
      • Python for machine Learning
      • Statistics for Data Science, Data and Business Analysis
    • Programming Languages
      • C
      • C++
      • HTML and CSS
      • Javascript
      • Java
      • Python
      • Sql
    • Web Development
      • Angular
      • Complete JavaScript Course 2020
      • Modern React with Redux
      • Complete Cyber Security
      • Web Development Bootcamp
      • Web Developer zero to Mastery
    • Game Development
      • Complete C# Unity Developer 2D
      • Complete C# Unity Developer 3D
      • Unreal Engine C++
      • RPG Core Combat Creator
  • Tools
  • Blog
  • MCQ’s
  • Blog Post
  • MCQs
  • RECOMMENDED RESOURCES AND TOOLS FOR BEGINNERS
C program to find largest of two given numbers

C program to find largest of two given numbers

C program to find largest of two given numbers is discussed here. Input two integers from the user and find the largest number among them. Given two numbers num1 and num2. The task is to find the largest number among the two. Example, Input: num1 = 2, num1 = 8 Output: Largest number = 8 […]

C program to find largest of two given numbers Read More »

C program to find the sum of digits of a number

  #include<stdio.h> int main() { int num, rem, sum = 0; // Ask user to enter the number printf(“Enter a number: “); // Read two number from the user scanf(“%d”, &num); while(num != 0) { rem = num % 10; sum += rem; num = num / 10; } printf(“sum = %d”, sum); return 0;

C program to find the sum of digits of a number Read More »

Addtion of two numbers in C

C Program to Add two Integer numbers

Given two numbers num1 and num2. The task is to write a program to find the addition of these two numbers. Example, Input: num1 = 10, num2 = 30 Output: 40   In the below C program to add two integer numbers, the program is first asked to enter two numbers. The input number is

C Program to Add two Integer numbers Read More »

Sample C Program to Print Hello World

How to write a sample C program to print Hello World? It is the first program to start any programming language. The “Hello World” program helps to understand the basic programming structure of C Programming. So let see how we can write print Hello World using C language.   #include <stdio.h> int main() { printf(“Hello

Sample C Program to Print Hello World Read More »

Best Laptop For Programming

Best Laptop For Programming and Coding in 2021

Before working as a software engineer, you should know the best Laptop For Programming. It helps you to reduce the development time and increase your performance. Nowadays there is a lot of SDK and editor that require a good processor and ram. If you are not aware of your SDK and editor then less amount of

Best Laptop For Programming and Coding in 2021 Read More »

How to remove trailing newline character from fgets input

How to remove trailing newline character from fgets input?

There are many ways to remove the trailing newline character from fgets input. Below I am mentioning some ways to remove the trailing newline character from the fgets input. You can use any one of them as per your requirement. But here I want to mention that in the below solution some are the compliant

How to remove trailing newline character from fgets input? Read More »

Array of Structures in C

Array of Structures in C with practical example program

C programming language allows you to create an array of structures. You can create an array of structures by specifying the structure type followed by the array name and size. If you don’t know it how to create, use and initialize the array of structures in C, then don’t worry. In this blog post I

Array of Structures in C with practical example program Read More »

Difference between ++*p, *p++ and *++p

Difference between ++*p, *p++ and *++p

To understand the difference between ++*p, *p++, and *++p. We need to understand the precedence and associativity of the operators. We will also see some C programs related to these operators. Evaluating postfix, prefix, and *: Precedence of postfix ++ is higher than prefix ++ and their associativity is also different. Associativity of postfix ++

Difference between ++*p, *p++ and *++p Read More »

Pre-increment and Post-increment in C/c++

Pre-increment and Post-increment in C/C++

In this blog post, we will learn pre-increment and post-increment in C/C++ with some example programs. We will also see what is the difference between pre-increment and post-increment operators and why in c++ pre-increment return lvalue and in C rvalue.   What is a pre-increment operator? A pre-increment operator (++)  is used to increment the

Pre-increment and Post-increment in C/C++ Read More »

What is Memory Leak in C

What is Memory Leak in C/C++? How can we avoid?

In this tutorial, you will learn what is a memory leak and what is the causes of memory leaks in C/C++ programming. You will also leak to how to avoid memory leaks in C/C++ with programming examples. What is Memory Leak? A memory leak is a curse for software because software shows undefined behavior due

What is Memory Leak in C/C++? How can we avoid? Read More »

← Previous 1 … 56 57 58 … 81 Next →
Best Gift for Programmers,Coders, and Techies

Copyright © 2026 Aticleworld | Powered by Aticleworld