// Anna University, Chennai / 2020, 2021
Anna University — Programming in C (CS8251), November/December 2020 / April/May 2021
Programming in C · CS8251 · R2017 · B.E./B.Tech. Engineering (common paper) · Semester 2
Files open in a new tab. Use your browser's download or save option to keep a copy.
Work through the questions
15 questions
No verified answers are available for this paper.
- 2021
- 2020
Distinguish between character and string.
No verified answer or solution is available for this question.
- 2021
- 2020
When to use global variable in programming?
No verified answer or solution is available for this question.
- 2021
- 2020
What is the starting index of an array?
No verified answer or solution is available for this question.
- 2021
- 2020
What are the different ways of initializing array?
No verified answer or solution is available for this question.
- 2021
- 2020
What is pointer arithmetic?
No verified answer or solution is available for this question.
- 2021
- 2020
Distinguish between call by value and call by reference.
No verified answer or solution is available for this question.
- 2021
- 2020
How can you access the members of the union?
No verified answer or solution is available for this question.
- 2021
- 2020
Specify the use of typedef.
No verified answer or solution is available for this question.
- 2021
- 2020
What are unformatted data files?
No verified answer or solution is available for this question.
- 2021
- 2020
Write short note on State Transaction Processing.
No verified answer or solution is available for this question.
- 2021
- 2020
(a) Discuss about preprocessor directive with example program. (OR) (b) Summarize the various types of operators in ‘C’ language along with its priority and justification.
No verified answer or solution is available for this question.
- 2021
- 2020
(a) Describe the following functions with examples. (i) strlen(). (4 marks) (ii) strcpy(). (4 marks) (iii) strcat(). (4 marks) (iv) strcmp(). (4 marks) (OR) (b) Write a C program to sort the n numbers using selection sort and trace it using following values 64, 25, 12, 22, 11.
No verified answer or solution is available for this question.
- 2021
- 2020
(a) Explain in detail about recursive function with sample code. (OR) (b) Write a C program for swapping of two numbers and changing the value of a variable using pass by reference.
No verified answer or solution is available for this question.
- 2021
- 2020
(a) Discuss about the following. (i) Singly linked list and operations (insertion, deletion, searching) with code segment. (10 marks) (ii) Advantages and disadvantages of singly linked list. (6 marks) (OR) (b) C program to add two distance (in inch-feet) system using structures.
No verified answer or solution is available for this question.
- 2021
- 2020
(a) Explain the types of file processing with its suitable application. (OR) (b) Write a C program to do the following. (i) Create a text file ‘input.txt’. (8 marks) (ii) Print the contents of file in reverse order. (8 marks)
No verified answer or solution is available for this question.