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

b.com ii sem c lab questions

Uploaded by

sridhar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

b.com ii sem c lab questions

Uploaded by

sridhar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

B.

COM CA II SEM EXTERNAL LAB PROGRAMS


1. Program to swap two numbers.

2. Write a C Program to test arithmetic operators.

3. Write a C program to determine the largest of three numbers Using


If.. else statement.

4. Write a C Program to Print month name of given number Using switch statement.

5. Write a C program to find the sum of it’s digits Using While


statement.

6. Program to check whether the given number is palindrome or not Using do.. while
statement.

7. Write a C program to print 1 to 10 multiplication tables.

8. Write a C program to read elements into an Array and display the


Array elements.

9. Write a C program to read elements into Matrix and display the


matrix.

10. Write a C program to find the largest and smallest elements in the
Array.

11. Write a C program to accept your name in lower case.


a. Display it in uppercase
b. Display it’s length
c. Display it reverse using string functions.

12. Write a C program to check given string is Palindrome or not Using


String functions.

13. Write a C program to find to add two numbers Using Functions.

14. Write a C program to print student details Using structure.

15. Write a C program to illustrate the Unions.


16. Write a C program to swap two numbers Using Pointers.

You might also like