Skip to content

EasyExamNotes.com

  • Home
  • Tutorial
  • Interview Q&A
  • Video Lectures
  • PYQs
  • MCQ
Menu

EasyExamNotes.com

  • Home
  • Tutorial
  • Interview Q&A
  • Video Lectures
  • PYQs
  • MCQ
Menu

C Coding

Write a C program to get factorial of a number ?

December 3, 2023April 28, 2023 by Team EasyExamNotes

Here’s a C program that takes an integer input from the user and prints the step-by-step factorial of that number: Output: In this program, we … Read more

Write a C program to print all the prime numbers between 1 to 50.

December 3, 2023April 28, 2023 by Team EasyExamNotes

Here’s a C program to print all prime numbers from 1 to 50: Output: In this program, we use two loops. The outer loop goes … Read more

Write a c program to generate all combinations of 1, 2 and 3 using for loop.

December 3, 2023April 28, 2023 by Team EasyExamNotes

Here’s a C program that uses nested for loops to generate all combinations of 1, 2, and 3: Output: In this program, we use three … Read more

What is Break statement in C Programming ?

December 3, 2023April 28, 2023 by Team EasyExamNotes

In C programming, the break statement is a control statement that allows you to exit a loop prematurely. It is commonly used in for, while, … Read more

Write a c program to get table of a number

December 3, 2023April 28, 2023 by Team EasyExamNotes

Here’s a C program that takes an input number from the user and prints its multiplication table up to 10. Here’s how it works: When … Read more

Write a c program to find age of a person ?

December 3, 2023April 28, 2023 by Team EasyExamNotes

Here’s a simple C program that asks the user for their birth year and calculates their current age based on the current year: Explanation: Note: … Read more

Write a C Program to find the percentage of marks ?

December 3, 2023April 27, 2023 by Team EasyExamNotes

Here is a C programme that computes the percentage of exam marks earned by a student: Output: In this program, we first declare three variables: … Read more

Variables Q and A in C Programming

December 3, 2023April 27, 2023 by Team EasyExamNotes

Q: What is a variable in C programming language? A: A variable in C programming language is a named location in memory that is used … Read more

Void main in C Programming

December 3, 2023April 27, 2023 by Team EasyExamNotes

In C programming, the void main() function is used to define the starting point of a program. However, it is not a recommended practice to … Read more

Main function in C Programming Q and A

December 3, 2023April 27, 2023 by Team EasyExamNotes

Q: What is the main function in C? A: The main function is the entry point of a C program, and it is where the … Read more

Older posts
Newer posts
← Previous Page1 … Page5 Page6 Page7 Page8 Next →

© 2024 EasyExamNotes.com | Some content on this site was generated with the assistance of Google's Gemini AI and ChatGPT.