You are on page 1of 1

ASSIGNMENT 1

(Odd Semester 2022-23)


Date: 08-10-2022
Subject: C Programming
Program/Branch/Year: BCA/MAWT/1 Sem Max Marks: 30

Attempt any 5:

Qno1: Write a C program that calculates the HCF and LCM of two numbers?

Qno2: Write a program to generate the following pattern:


1
12
123
1234
12345
123456
1234567
12345678
123456789

Qno3: What is Type conversion? Discuss its types and explain with program?

Qno4: Write a program that prints the reverse of a positive integer (Number) using
recursion?

Qno5: Discuss Storage Classes? Explain its Types?

Qno6: Given a positive integer and if n is less than 9 then print lowercase English word
corresponding to the number (eg: one for 1, two for 2 and so on) and if number is greater
than 9 the print “Number is greater than 9”?

You might also like