Programmes-in-C
Some Questions to try
- Write a program to display "Welcome to c programming Class". Solution
- Write a program to add two numbers. Solution
- Write a program to take the temperature in Fahrenheit and convert it into Celsius.Solution
- Write a program to calculate the area of the triangle whose sides are taken from the user.
- Write a program to calculate the roots of the quadratic equation.
- WAP to generate Floyd's triangle as follows:
1 2 3 4 5 6 7 8 9 10
- WAP to read 3 digits number and test whether it is Armstrong number or not.
- WAP to make a menu for addition, subtraction and multiplication of two numbers.
- WAP to read a string from the user and Check Whether it is a palindrome or not.
- WAP to display the addition of two matrices.
- WAP to add the diagonal elements of the matrix supplied by the user.
- WAP to show the concept of pointer expression.
- WAP to read the number from the user and check whether it is a palindrome or not. .
- WAP to illustrate the function with arguments and no return value.
- WAP to illustrate the function with no arguments and no return value.
- WAP to illustrate the function with arguments and return value
- WAP to illustrate the function with no arguments and return value.
- WAP to swap the values of two variables using call by value.
- WAP to swap the values of two variables using call by reference.
- WAP to calculate the factorial of a supplied number using the recursive function.
- WAP to create a structure student containing Name, Roll No, Marks as members and that structure to read and display the data entered by the user.
- WAP to create a Union student containing Name, Roll No, Marks as members and that union to display the data entered by the user.
- WAP to create a file "text.txt" and write the text "hello student" to that file.
- WAP to open the file "text.txt" created in the above program.
- WAP to include a macro header to a new file.