PPS LAB Experiment List
PPS LAB Experiment List
PPS LAB Experiment List
IV ARRAY:-
a) Write a program to read and display an array of elements.
b) Write a program to find position of an element in an array.
c) Write a program to addition of two matrixes.
FUNCTIONS:-
V a) Write a program for swapping of two numbers using functions.
b) Write a program to find the factorial of a number using function.
c) Write a program in C to check whether a number is a prime number or not using
the function.
d) Write a program in C to check Armstrong and Perfect numbers using the
function.
VI POINTER:-
a) Write a program in C to show the basic declaration of a pointer.
b) Write a program in C to demonstrate the use of the & (address of) and *(value
at address) operators.
c) Write a program in C to add numbers using call by reference.
d) Write a program in C to read and display array elements using pointer.
VII STRING:-
a) Write a program in C to input a string and print it.
b) Write a program in C to find the length of a string without using library
functions.
c) Write a program in C to count the total number of words in a string.
d) Write a program in C to compare two strings without using string library
functions.