KEMBAR78
All C Program | PDF
0% found this document useful (0 votes)
7 views1 page

All C Program

The document outlines a series of programming tasks categorized into four sections: Array programs, String programs, Control statement programs, and Arithmetic programs. Each section contains multiple programming exercises, such as printing array elements, string manipulation, control flow statements, and basic arithmetic operations. The tasks are designed to enhance programming skills in various fundamental concepts.

Uploaded by

minkukpt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

All C Program

The document outlines a series of programming tasks categorized into four sections: Array programs, String programs, Control statement programs, and Arithmetic programs. Each section contains multiple programming exercises, such as printing array elements, string manipulation, control flow statements, and basic arithmetic operations. The tasks are designed to enhance programming skills in various fundamental concepts.

Uploaded by

minkukpt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Array programs

1. Write a program to print elements of an array.


2. Write a program to print sum of two array.
3. Write a program to print elements of an array.
4. Write a program to print days of week using switch statement without break.
5. Write a program to print number of series between two numbers.

String programs

1. Write a program to find the length of a string


2. Write a program to copy string using strcpy().
3. Write a program to compare a string.
4. Write a program to reverse a string.
5. Write a program to print sum of all elements of an array.
6. Write a program to print all elements of an array in reverse order.

Control statement programs

1. Write a program to find larger of two numbers


2. Write a program to find greater of three numbers using nested if.
3. Write a program to find whether the given number is even or odd.
4. Write a program to generate Multiplication Table using for loop.
5. Write a program to generate Multiplication Table using while loop.
6. Write a program to make a simple calculation using Switch...case.
7. Write a program to find a factorial number of a given number.

Arithemetic programs

1. Write a program to add two numbers.


2. Write a program to find the square of a given number.
3. Write a program to find the sizeof int, float and char.
4. Write a program to compute quotient and remainder.
5. Write a program to find the simple interest, inputs are amount, period in years and rate of interest.

You might also like