MC0061-Computer Programming C Language-Fall-10
MC0061-Computer Programming C Language-Fall-10
8. Write a program to accept 10 integers and print it in reverse order using linked lists.
August 2010
Master of Computer Application (MCA) – Semester 1
MC0061 – Computer Programming “C Language” – 4 Credits
(Book ID: B0678 & B0679)
Assignment Set – 2 (40 Marks)
2. Write a program to print a set of 9 integers in a matrix format using nested for loops.
3. A 5-digit positive integer is entered through the keyboard, write a function to
calculate sum of digits of the 5-digit number:
(a) Without using recursion
(b) Using recursion
4. Write a program in C to perform matrix multiplications on integers.
5. Describe the following concepts with the help of suitable code snippets:
a. Global Variables
b. Static Variables
c. External Variables