C Prog
C Prog
Part-A
Assume that there are not more than 200 students in the college.
Q2. How a structure is different from an array & union. Explain it along
with an example?
Q3. Write a program to find the length of the names of all the students of
the section without using any inbuilt function. The names will be entered
by the user on the run time with the number of students in section as well.
Implement the concept with the help of pointers only.
PART-B
Q5. Create a function to find the sum of the factorial of each of the digits
of the number. If in any case the factorial comes out to be the multiple of
5, it should be divided by the 5 first and then the output should be
displayed to the user. Do with the help of pointers only.
Q6. Write a program using pointers that will enter a line of text, store it in
computer’s memory and then display it backwards. Assume it will not
exceed 80 characters.