0% found this document useful (0 votes)
31 views

Sample C Program Ques

The document lists various C programming exercises including: 1) Programs to find the minimum of 3 numbers, print N Fibonacci numbers, and print N prime numbers. 2) Programs to determine if a number is even or odd, convert decimal to binary, and check if a character is a vowel. 3) Additional programs involving palindromes, factorials, adding real and imaginary numbers, adding 3-digit numbers, swapping variables, finding LCMs, calculating triangle areas, and more advanced topics like recursion, sorting, searching, pointers, linked lists, queues, dynamic memory allocation, strings, unions, structures, and vector addition.

Uploaded by

vinodmca
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Sample C Program Ques

The document lists various C programming exercises including: 1) Programs to find the minimum of 3 numbers, print N Fibonacci numbers, and print N prime numbers. 2) Programs to determine if a number is even or odd, convert decimal to binary, and check if a character is a vowel. 3) Additional programs involving palindromes, factorials, adding real and imaginary numbers, adding 3-digit numbers, swapping variables, finding LCMs, calculating triangle areas, and more advanced topics like recursion, sorting, searching, pointers, linked lists, queues, dynamic memory allocation, strings, unions, structures, and vector addition.

Uploaded by

vinodmca
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 2

C Programs --------------1)Program to find min of 3 numbers. 2)program to print N fibonacci numbers. program to print N prime numbers.

. program to find if number is even or odd. program to convert decimail to binary. program to check the character vowel or not. program to check the number palinrom or not. Write a function to find factorial of a number. Program to add real and imaginary number. Program to add the each 3 digit of the number.* Program to swap two without using third variable. Function to find LCM of 2 number.* Write a function to find the area of a triangle, with all parameters and return value as global variables.* Write a function to get the next even number using static variable.* Find factorial of a number using recursion. Reverse a String using recursion.* Program to perform matrix Addition Sort 10 User Entered Strings in Ascending order*. Program to find if the user entered string is a C keyword or not.* Function to Find Length of a given string. Function to print a given string in reverse order. Write a function for XOR encryption/ decryption Program to Bubble Sort an Array of n Elements.* Program to Selection Sort an Array of n Elements. Program to Linear Search an Array of N Elements. Program to swap two numbers using pointers. Write a program Stack using Linked list , Insertion and deletion at the middle of the linked list. Queue using linked list. Dynamic memory allocation (malloc,realloc,calloc)* String cat and find the length of the string using (strlen and strcat) Find the string occurence from the user enter string.

Convert lowercase to uppercase Define a Union with element character of 4 and 1 integer . i)Store the value in integer ii)print all the value to character. write a function vector additon using structure. find the area of rectangle using nested structure.

You might also like