# Monthly Archives: June 2019

## C Program to Search a Record in Binary File C Programming

Q: Write a C program to Search a Record in Binary File in C Programming. What is the input of Record Search C Program? This C program will input a field to start a search with. For example, in a student binary file, we will input roll number of the student to start search in… Read More »

## C Program to Append / Add More Records in Binary File

To day we will learn to write a “C Program to Append / Add More Records in Binary File”. Let us study some important concepts related to appending a file in C Programming. What Do You Mean By Appending a File? By Appending a file we mean adding More records at the end of a… Read More »

## C Program to Read Records From Binary File

C Program to Display Records From Binary File “Read Records From Binary File” in C Programming is the program we will write today. We have already written a C program to Write Records in a Binary File. We have learned some basic standard library function used in C File programming. fopen() to open a file.… Read More »

## C File Program to Save Records in a Binary File

“C File Program to Save Records” is a file handling program in C programming language. This program will open a binary file and save the records of students in it. If the file does not exist already, it is created. It will add one record at a time. After saving first record successfully in a… Read More »

## Print Fibonacci Series Up to n – C Programming

Here is a C Program to Print Fibonacci Series Up to n. Where n is the given number provided by the user at run time. Therefore, if the user inputs a number 10, the output of this Fibonacci series program will be: 0, 1, 1, 2, 3, 5, 8 Note that the last term of… Read More »

## Fibonacci Program in C Programming

What is Fibonacci Sequence Explain Fibonacci Series What are Fibonacci Numbers This program with title “Fibonacci Program in C Programming” is based on a special series in mathematics. The Fibonacci sequence is a series of numbers starting from first two numbers 0 and 1 by definition. Then every other number is the sum of  previous… Read More »

## C Program to check for Prime or Composite Number

“C Program to check for Prime or Composite Number” is a C language program to input a number and check whether it is a prime number or composite number. 1 is Prime or Composite The input should be a positive integer greater than one. Since we know that by definition of prime number, 1 is… Read More »

## C Program Using Ternary Operator To Check Even Odd

“C Program Using Ternary Operator To Check Even Odd” This is a C program that uses conditional operator in C programming language to check whether a number is even or odd. Ternary operator is called conditional operator in C programming language. The syntax of ternary operator is as follows: (condition)? true-case-statement : false-case-statement; Example of… Read More »

## Use Switch statement for simple calculator C Program

“Use Switch statement for simple calculator C Program” is a C program used to work as a simple calculator. This simple calculator performs only four basic arithmetic operations addition, subtraction, multiplication and division. This program uses switch statement to check the type of operator and calculates the needed operation. The result is presented to user… Read More »

## Four Function Calculator Program in C programming

“Four Function Calculator Program” is a C program to input first number, an operator and second number to perform required calculation. A sample input string is 2+4 [Press Enter]. The 4 function calculator program will add 2 and 4 and display the answer of addition that is 6. The operators may be arithmetic operators for:… Read More »