Cia 1-ds
Cia 1-ds
DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING AND ELECTRONIES AND COMMUNICATION ENGINEERING
CIA- 1 MARK: 50
SUBJECT:CS3353 -C PROGRAMMING AND DATA STRUCTURE DATE: / /2024
YEAR/SEM: II/ III
PART-A (Answer al question ) 5*2=10
1.What is enumerated data type? Give an example.
2.what is the difference between constant and variable?
3. What is primitive data type and void data type?
4. What is the difference between structure and union?
5. What are the basic operations performed on an array?
PART-B 1*8=8
6.What is the difference between pass by value and pass by reference? Write the C coding for swapping two numbers using pass by reference. (8)
PART-C 2*16=32
7)a)What is an array and how to initialize an array? Explain the types of array with example.(16)
Or
b) Explain all the operators in C with an example for each.(16)
Or
b. Describe the decision making, branching and looping statements in C. (16)
CIA- 1 MARK: 50
SUBJECT:CS3353 -C PROGRAMMING AND DATA STRUCTURE DATE: / /2023
YEAR/SEM: II/ III
PART-A (Answer all question) 5*2=10
1.What is enumerated data type? Give an example.
2.what is the difference between constant and variable?
3. What is primitive data type and void data type?
4. What is the difference between structure and union?
5. What are the basic operations performed on an array?
PART-B 1*8=8
6.What is the difference between pass by value and pass by reference? Write the C coding for swapping two numbers using pass
by reference. (8)
PART-C 2*16=32
What is an array and how to initialize an array? Explain the types of array with example.(16)
7)a)
Or
b) Explain all the operators in C with an example for each.(16)