Posts

Showing posts from May, 2011

Write a c program to accept n book details such as book_title, book_author, publisher and cost.Assign the accession number to each book in increasing order Display these details as 1 Book of specific author 2 Books by specific publisher 3 All books costing Rs. 500 and above 4 All books.

Write a ‘C’ program to reverse an array elements using D.M.A.

Write a c program to create student structure having field roll_no, stud_name, class. Pass this entire structure to function and display the structure element

Write a ‘C’ program to swap two numbers using bitwise operator

Write a menu driven program to perform following option Right shift Left shift One’s complement

Write a c program to accept the n names from the user stores these names into 2-d array accept the name from user and search whether the name is present in an array or not

Write a c program to crate a student structure having field stud_name and address accept the details of ‘n’ student into the structure, rearrange the data in alphabetic order of stud_name and display the result

Write a ‘C’ program to calculate the sum of two mXn matrix and store the result in third matrix

Write a ‘C’ program to do following a) Create the text file ‘input. text’ b) Print the content of file in reverse order

Write a ‘C’ program to accept n numbers from user and find out the maximum element out of them using DMA

Write a c program to calculate the length of the string without using standard function

Write a c program to accept the line from user and delete the all occurrences of word ‘the’ from the line and display the result

Write the c program to calculate the sum of element of lower triangle of nXn matrix

Write c program to accept the numbers from user store all perfect number in an array and display the array

Write the c program to calculate the sum of element of upper triangle of nXn matrix

Write the c program to accept the mXn matrix and find the largest and smallest number from the matrix using DMA

Write a menu driven program to Calculating length of the string & display the length Copy one string two another string Compare two string and display the result Concatenate the two strings & display the result

Write a ‘C’ program to check whether given string is palindrome or not

Write a c program to Convert the decimal number to octal number Convert decimal number to hexadecimal number

Write a c program to create student structure having field roll_no, stud_name, mark1, mark2, mark3 calculate the total and average of marks and arrange the records in descending order of marks

Write ac program to accept 10 numbers from user and find the smallest number using pointer

Write a c program using command line arguments to search for word in file and replace it with the specific word

Write a c program to accept nXn matrix from user and display the elements of given matrix using function

Write a ‘C’ program to copy one string into another string without using standard function

Write a c program to accept the 10 numbers from user store these number in array and sort the array in ascending order using DMA

Write a c program to count the number of character ,number of lines from a text file and display the result

Write a c program to calculate the sum of all upper triangle elements of a nXn matrix using DMA

Write a ‘C’ program to accept the data from user, store it into text file

Write a ‘C’ program to find the union of two sets of integer(store in two arrays

Write a ‘C’ program to display the alternet character from an existing file

Write a ‘C’ program to calculate the sum of all non diagonal elements of an nXn matrix

Write a c program to calculate the sum of all lower triangle elements of a nXn matrix using DMA

Write a c program to accept n numbers from user and store these numbers into array and calculate the average of these numbers

Write a c program to store the records of student (stud_no, stud_name, stud_addr, stud_percentage) in a file using structure.

Write the c program to read the data of the file & display the data on the screen if file not exist create the file

Write a c program to calculate the sum of all diagonal and non diagonal elements of an matrix

Write a c program to accept n numbers from user & store all prime numbers in an array and display the array

Write a ‘C’ program to display the transpose of a given 3X3 matrix.

Write a c program to copy one file to another while doing so replace lowercase to uppercase character

Write a c program to accept n numbers from user store these number into an array count number of occurrence of each number

Write menu driven program to perform following operations Write separate function for each option -check if one string is substring of another string -count the number of occurance of character in the string -Exit

Write a c program to append the content of one file at the end of another file

Write a ‘c’ program to accept n numbers from user , store these numbers into an array and reverse an array element using function

Write a ‘C’ program to copy content of one file into another file using command line argument

Write a ‘C’ program to calculate the sum of element of mXn matrix

Write a ‘C’ program to accept a string from user and delete all the vowels from that string & display the result.

Write a ‘C’ program to convert given decimal number into binary number

Write a ‘C’ program to copy content of one file into another file

Write a ‘C’ program to accept a string from user, generate following pattern (e.g. input is string “abcd”)

Write a c program to write macro definition To test whether a character is lowercase or not To check whether a character is alphabet or not To obtained the largest of two numbers

Write a ‘C’ program to swap the values of two variables by using call by reference.

Write a ‘C’ program for multiplication of two mXn matrix.

Write a ‘C’ program to accept 5 names from user, store these names into array and sort these array elements in alphabetic order.

Write a ‘C’ program to accept customer details such as: Account_no, Name and Balance in account .Assume maximum 20 customers in the bank. Write a function to print the account no & name of each customer with balance below Rs.100

Write a ‘C’ program to accept n numbers from user store these numbers into an array & sort the numbers of an array.

Write a menu driven program in c that shows the working of a library. The menu option should be: - Add book information. - Display book information. - List all books of given author. - List the count of books in library. - Exit. (Using structured array)

Write a ‘C’ program to accept n numbers from user, store these numbers into an array & find the maximum & minimum number from that array

To calculate the root of quadratic number

To print the star pattern

Convert centigrade into farhenite

To check whether entered number is palindrom or not

Calculate whether entered year is leap year or not

Calculate the volume and area of cube

To check whethwe number is armstrong or not

Calculate sum of 1 to n odd and even number

Check whether it is alphabet and if yes then change the case of alphabet

Find perfect number between 1 to 50

Sum of 1 to n even numbers

Sum of 1 to n odd numbers

Prime numbers from 1 to 100

Check number is alphabet or digit using standard function

Sum of digit of a number using recurrsion function

Change the case using standard function

Check whether number is positive, negative, even or odd

Addition of 1 to n numbers

Reverse of a number

Number Pattern 3

Menudriven program for calculating fibonacci and factorial of a number using switch case

Program to caluclate power of number

Number Pattern 2

Number is prime or not

Print ascii value, next character, pre character of entered character

Print word for number

Star Pattern

Number Pattern

Entered Character is digit or uppercase alphabet or lowercase alphabet