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

C Programming 1st Year Test

The document contains instructions for various C programming exercises including: calculating sums and series, checking for palindromes, finding factors of numbers, determining data types, and displaying patterns. Many exercises involve writing functions to perform calculations or checks in a parameterized or non-parameterized manner. Storage classes like automatic and static are also demonstrated.

Uploaded by

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

C Programming 1st Year Test

The document contains instructions for various C programming exercises including: calculating sums and series, checking for palindromes, finding factors of numbers, determining data types, and displaying patterns. Many exercises involve writing functions to perform calculations or checks in a parameterized or non-parameterized manner. Storage classes like automatic and static are also demonstrated.

Uploaded by

Sandhya Pawar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1. Write a program for calculating some of first n natural numbers using parameterized function. 2.

Enter two numbers and find HCF of them. 1. Enter two numbers and find HCF of them. 2. Enter two numbers display prime numbers between them. 1. Enter two numbers display prime numbers between them. 2. Find given character is alphabet or digit using parameterized function. 1. Write a program to display first n terms of Fibonacci series. (Fibonacci series: 1 1 2 3 5 8..) 2. Write a simple C program to demonstrate the working of storage class Automatic. 1. Write a program to find whether a number is palindrome or not using function. (ex. 12321,121, 54245 etc.) 2. Enter two numbers and find LCM of them. 1. Find given character is alphabet or digit using parameterized function. 2. Write a C program to display Diamond pattern of Star. 1. Write a program to enter a number and calculate sum of its digits. 2. Write a C program to demonstrate the working of Static storage class. 1. Write a C program to demonstrate the working of Static storage class. 2. Write a program to find whether a number is palindrome or not. (ex. 12321, 121, 54245 etc.) 1. Write a C program to display Diamond pattern of Star. 2. Write a simple C program to demonstrate the working of Automatic storage class.

1. Write a program for calculating sum of first n natural numbers. 2. Write a program to enter a number and calculate sum of its digits using non parameterized function. 1. Enter two numbers and find LCM of them. 2. Write a program to display first n terms of Fibonacci series. 1. Write a program for calculating some of first n natural numbers using parameterized function. 2. Enter two numbers and find HCF of them. 1. Enter two numbers and find HCF of them. 2. Enter two numbers display prime numbers between them. 1. Enter two numbers display prime numbers between them. 2. Find given character is alphabet or digit using parameterized function. 1. Write a program to display first n terms of Fibonacci series. (Fibonacci series: 1 1 2 3 5 8..). 2. Write a simple C program to demonstrate the working of Automatic storage class. 1. Write a program to find whether a number is palindrome or not using function. (ex. 12321,121, 54245 etc.) 2. Enter two numbers and find LCM of them. 1. Find given character is alphabet or digit using parameterized function. 2. Write a C program to display Diamond pattern of Star. 1. Write a program to enter a number and calculate sum of its digits. 2. Write a C program to demonstrate the working of Static storage class. 1. Write a C program to demonstrate the working of Static storage class. 2. Write a program to find whether a number is palindrome or not. (ex. 12321, 121, 54245 etc.)

1. Write a C program to display Diamond pattern of Star. 2. Write a simple C program to demonstrate the working of Automatic storage class. 1. Write a program for calculating sum of first n natural numbers. 2. Write a program to enter a number and calculate sum of its digits using non parameterized function. 1. Enter two numbers and find LCM of them. 2. Write a program to display first n terms of Fibonacci series.

You might also like