Basic C Programs, Objective Type Questions, Answers

Basic C Programs, Objective Type Questions with Answers


Basic Solved C Programs, Objective Type Interview based Questions and Answers

This site has been designed to provide Basic C programs for all beginners to learn and understand C programming language very easily, solved example programs of various categories for the school and college going students to learn C language in depth, Interview based Multiple Choice (Objective Type) questions and answers for the viewers whoever want to have more knowledge in C programming language. Moreover, this site has to include number of C programming Quizzes and programming mock tests for the viewers to learn  C language programs more on logically, mathematically, and conceptually.

This Website is now under construction ! Coming Soon !!

Basic Questions & Solved Example Programs in C 

*  Various Categories of Example Programs in C 

*  Overview of C Programming

*  Interview Questions in C with Answers

*  Questions related to C Constants and Data Types

*  Questions related to various types of C Operators

*  Questions related to C Expressions 

*  Questions related to C Operators

*  Questions related to Decision Making Statements(if)

*  Questions related to Loop Statements(for,while,do)

*  Questions related to Arrays in C

*  Questions related to C User defined functions

*  Questions related to C Pointers

*  Questions related to Structures and Unions in C

*  Questions related to Files in C

*  Questions related to all others in C


C Objective Type Questions


*  Objective Type Questions related to C Constants and Data Types

*  Objective Type Questions related to various types of C Operators

*  Objective Type Questions related to C Expressions

*  Objective Type Questions related to C Operators

*  Objective Type Questions related to Decision Making Statements (if)

*  Objective Type Questions related to Loop Statements (for, while, do)

*  Objective Type Questions related to Arrays in C

*  Objective Type Questions related to C User defined functions

*  Objective Type Questions related to C Pointers

*  Objective Type Questions related to Structures and Unions in C

*  Objective Type Questions related to Files in C

Basic C Programs

. . .  Odd or Even  . . . 

* C program to check even or odd using Bitwise Operator

* C program to find Sum of Odd Digits of a Number

C program to find Sum of Even Digits of a Number

* C program to find Sum of Even and Odd Digits of a Number

* C program to print Odd Digits of a Number

* C program to print Even Digits of a Number

* C program to display Odd numbers from the given N numbers

* C program to display Even numbers from the given N numbers

* C program to check whether a number is odd or even

* C program to check odd or even using if else
* C program to check odd or even using switch case
* C program to check odd or even using function
* C program to check odd or even using Ternary Operator

. . .  Armstrong number . . . 

C program to check whether a number is Armstrong or not.

* Check a 3 digit number is armstrong or not using C program 

* C program to display Armstrong numbers between range.

* C program to display Armstrong numbers between 1 and 1000.

. . .  Perfect number  . . .

*c program to check whether a number is perfect number or not.

* C program to display Perfect numbers between given range.

* C program to display the Perfect numbers between 1 and 100.

. . .  Prime number  . . . 

* c program to check whether a number is prime number or not.

* Program to display prime numbers between any two intervals.

* C program to display prime numbers between 1 and 100.

* C program to display prime numbers between given range.

* Program display prime numbers between a range using while.

* C program to sum of prime numbers between  1 and 100.

* C program to sum of prime numbers between given range.

* C to find the Prime numbers between 1 and 100 using do loop
* C to print Prime numbers between 1 and 100 Using Recursion
* C to display prime numbers between 1 and 100 using Function

. . .  Strong number  . . . 

* c program to check whether a number is strong number or not.

* C program to display Strong numbers between given range.

. . .  Palindrome  . . . 

C Program to Check Polindrome without String functions

*C program to check whether a number is palindrome or not.

* c program to check whether a string is palindrome or not.

* C program to check Palindrome or not using Recursion.

. . .  Roots of Quadratic Equation  . . . 

* C program to find the Roots of Quadratic Equation.

. . .  Fibonacci series  . . . 

C program to print Fibonacci series 

C program to print Fibonacci series using an Array.

* C program to find the Sum of Fibonacci series.

C program to Fibonacci series starting from any two numbers.

. . .  Series  . . . 

* C program to find the Sine Series

. . .  Factorial . . . 

c program to find the factorial of an integer number.

C program to find the factorial using POINTERS

C program to find the factorial using FUNCTION

C program to find factorial using RECURSION

. . .  Stack Operations . . . 

C program to implement all Stack Operations using Array

. . .  Swap two Numbers . . .

* C program to Swap two Numbers without using third variable

* C program to Swap two numbers using Pointers and Function

. . .  Calendar program  . . . 

* C Calendar program to print name of day, date for year, month

*C Calendar program to print 12 months month wise to any year

. . .  Simple Interest  . . . 

* C program to find the Simple Interest

. . .  Smallest and Largest  . . .

C program to find the smallest of 3 numbers

C program to find the Largest of 3 numbers

* C program to find the smallest of N numbers using Array

 C program to find the Largest of N numbers using Array

C program to find the Smallest of N numbers without Array

C program to find the Largest of N numbers without Array

. . .  Ascending & Descending order  . . . 

* C program to sort numbers in ascending & descending order

* C Program to Sort a given N numbers using Merge Sort

* C to arrange in ascending & descending order using if else

* C program to sort Real numbers in ascending order
* C program to sort integer numbers in ascending order 

* C Program to Implement Insertion Sort to arrange numbers

* C to arrange numbers in ascending order using Bubble sort


. . .  Arrays  and Pointers. . . 

* C program to Print all elements of arrays in Reverse Order 

* C program to Delete all duplicate elements from an array

* C program to Delete all duplicate elements in an array

* C Program to Search an element in Array
* C Program to Merge Two arrays
* C Program to Copy all elements of an array into Another array
* C Program to Insert an element in an Array

* C Program to Delete an element from a location in Array


. . .  Using Pointers  . . . 

* C Program to multiply two matrices using pointers

* C program to check perfect number or not using pointer

* program to check a number is Polindrome or not using Pointer

* C Program to find Area of Circle using Pointer


. . .  Conditional Operator  . . . 

* C to find largest of three numbers using Conditional Operator

* C to find largest of Ten numbers using Conditional Operator

* C to find largest of n integers using Conditional Operator

* C to find the largest of n Real numbers using ternary Operator

. . .  Using Function . . . 

* C Program to find the Product of Two Matrices using Function

 * C to check a number is Armstrong or not using function 

* C program to check perfect number or not using function

. . .  Using Recursion . . . 

* C Program to multiply two matrices using Recursion

Program to Check a number is prime or not using Recursion

. . .  Matrix  . . . 

* C Program to Check whether Matrix is Magic Square or Not
* C Program to Print Squares of  Elements of  2D Array Matrix
* C Program to find Transpose of Matrix
* Program to find Sum of Lower Triangular Elements of Matrix
* Program to find Sum of Upper Triangular Elements of Matrix

* C Program to find the Inverse of Matrix 

* C Program to Multiply any Two 3 X 3 Matrices

C Program to Multiply any Two Matrices 

 

. . .  Strings using Character Arrays  . . . 

C program to count the number of words, vowels, letters, digits, spaces, characters in a line of text

* C program to find the length of string without using strlen()

. . .  Decimal to Binary Conversions  . . . 

* Convert Decimal to Binary using Bitwise Operator
* C Program to Convert Decimal number to Binary Number
* C Program to Convert Decimal number to Octal Number
* C Program to Convert Decimal to Hexa Decimal Number

 

. . .  Mixed Number System Conversions  . . . 

* Program to convert a mixed Hexa number to decimal number
* C program to convert a mixed Octal to decimal number
* C program to convert a mixed binary to decimal number

. . .  Algorithms Implementations  . . . 

C program to implement n-Queen's problem using backtracking

. . .  Temperature Conversions  . . . 

C program to convert from Celsius to Fahrenheit

C program to convert from Fahrenheit to Celsius

. . .  Electricity Bill  . . .

* C program to read customer number, power consumed and print amount to pay

. . .  Sum  . . . 

* C program to find sum and display first n natural numbers

* C program to find sum of elements in array using pointers

. . .  AREA  . . . 

* C program to find Area of Square

* C program to find Area of Rectangle

C program to find Area of  Circle

C program to find Area of Scalene Triangle

C program to find Area of Equilateral Triangle

C program to find Area of Right Angle Triangle


. . .  ASCII values of all Characters  . . . 

C program to print ASCII values of all Characters


. . .  Student Mark Sheets Using Structure  . . . 

C Program to Display Student Mark Sheets Using Structure

. . .  Files  . . . 

* C program to copy the content of one file to another file

* C program to write data to file and read data from same file

C program to read last n characters from a file

* C Program to print the given source program as output

* C Program to Compare Two Data files
* C Program to convert all letters from a text file to Upper Case
* C Program to convert all letters from a text file to Lower Case


Binary Converters :

*  Click here to convert Binary to Decimal

*  Click here to convert Binary to Octal

*  Click here to convert Binary to Hexa Decimal

Decimal Converters :

*  Click here to convert Decimal to Binary

*  Click here to convert Decimal to Octal

*  Click here to convert Decimal to Hexa Decimal

Octal Converters :

*  Click here to convert Octal to Decimal

*  Click here to convert Octal to Binary

Hexa Decimal Converters :

*  


Basic C programs, solved example programs, Interview based Multiple Choice (Objective Type) questions and answers


This site contains Basic C programs for all beginners, solved example programs of different categories, Interview based Multiple Choice (Objective Type) questions and answers for the readers to have more knowledge in C programming language.

Other Popular Posts

About Er. T.Tharesh Kumar

I am a Professor and Head of Department of Computer Science in an Arts and Science College. I have designed this website to provide solved example programs of different categories for all the school and college going students to learn C language deeply, and to practice Interview based Multiple Choice (Objective Type) questions and answers.

Bookmark and Share