0% found this document useful (0 votes)
6 views1 page

IP Assignment Questions

The document outlines five assignments focused on C programming concepts. Topics include algorithms for prime numbers, data types, type casting, switch case statements, matrix operations, pointer arithmetic, and file handling. Each assignment consists of specific tasks such as writing programs, discussing programming concepts, and illustrating examples.

Uploaded by

stargamingr441
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

IP Assignment Questions

The document outlines five assignments focused on C programming concepts. Topics include algorithms for prime numbers, data types, type casting, switch case statements, matrix operations, pointer arithmetic, and file handling. Each assignment consists of specific tasks such as writing programs, discussing programming concepts, and illustrating examples.

Uploaded by

stargamingr441
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

ASSIGNMENT-1

1. Write an algorithm and flow chart to print prime numbers from the given range 99 to 200.
2. What is a datatype ? Elaborate various data types in C.
3. Explain Type casting and Conversion with suitable example program.

ASSIGNMENT-2

1 Explain switch case statement with suitable example program.


2 Write a C program to print 1-50 numbers in both ascending and descending order by using if,for,while,
do-while statements.
3 Differentiate the following statements
a) break b) continue

ASSIGNMENT-3
1. Write a c program to determine transpose of matrix of size 3*3 and display the same.
2. Discuss merits and demerits of sequential memory allocation.
3. Categorize different types of string handling functions with illustration.

ASSIGNMENT-4

1. Discuss pointer arithmetic in detail.


2. Write a c program to calculate student wise total for three students using array of structure.
3. Discuss Union with suitable example program.

ASSIGNMENT-5

1. Explain the details about pass by value and pass by reference. Explain with suitable program.
2. Discuss scope and life time of a variable in function.
3. Illustrate basic file handling functions in detail.

You might also like