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

c lab sem

The document outlines a series of tasks for writing C programs, including input/output statements, expressions, leap year checks, calculator functions, and string manipulations. It also covers array operations, matrix multiplication, and file handling for managing account details and telephone directories. The tasks emphasize various programming concepts such as loops, functions, structures, and pointers.

Uploaded by

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

c lab sem

The document outlines a series of tasks for writing C programs, including input/output statements, expressions, leap year checks, calculator functions, and string manipulations. It also covers array operations, matrix multiplication, and file handling for managing account details and telephone directories. The tasks emphasize various programming concepts such as loops, functions, structures, and pointers.

Uploaded by

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

1. Write a C program to use Input and Output Statements.

2. Write C programs using Expressions.

3. Write a C program to find whether the given the given year is leap year or Not.

1. Write a C program to find whether the given the given year is leap year or Not.

2. Write a C program to design a calculator to perform the operations, namely, addition, subtraction,
multiplication, division and square of a number.

1. Write a C program to print the table of given numbers using for loop.

2. Write a C program to find whether a given number is Armstrong number or not.

1. Write a C program to perform the following,


▪ Populate a two dimensional array with height and weight of persons
▪ Compute the Body Mass Index of the individuals.
2. Write a C program to count vowels and consonants in a string using pointer.

1. Write a program for performing matrix multiplication using multi-dimensional array.


2. Write a C program to count vowels and consonants in a string using pointer.

I. Write a C program to find sum of weights for a given set of numbers like <10,36,54,89,12,27>

Find the sum of weights based on the following conditions.

1. 5 if it is a perfect cube.

2. 4 if it is a multiple of 4 and divisible by 6.

3. 3 if it is a prime number.

II. Write a C program to populate an array with height of persons and find how many persons are above
the average height.
1. Write a C program for reversing a string without changing the position of special characters. (Example
input:a@gh%;j and output:j@hg%;a).

2. Write a C program for find Sum of all Array Elements by passing array as an argument using User
Define Functions.

1. Write a program to illustrate a function with arguments and with return values.

2. Write a C program to swap two numbers using call by value.

3. Write a C program to swap two numbers using call by reference.

1. Write a C program to demonstrate all available storage class specifier in C language.


2. Write a C program to swap two numbers using call by value.

1. Write a C program to generate employee salary slip using structure & pointer.

1. Write a C program to compute internal marks of students for five different subjects using
structures and functions.

1. Write a C program to count the number of account holders whose balance is less than the minimum
balance using sequential access file.

1. Write a C program to update telephone details of an individual or a company into a telephone


directory using random access file.

You might also like