Category: C Programming
-

(For the previous post in this series (Part 6b), pls see here: Discussion on how to design scientific calculator in C.) Answer: Some features of our program:
-
(For Part 6(a) of this series, pls see here: Functions (Unit 3) – 16 marks – Q & A.) Anna Univ Exam prep : Previous Years Q & A. CS 3251 – Programming in C Nov/Dec 2022, 16 marks, Unit 3 (Functions) Question: (a) Classify function prototypes with suitable examples. (8 marks) (b) Write a…
-
CS3251 Question Bank – Part 6. Functions (Unit 3). Anna Univ Previous Years Q & A. Programming in C.
Questions and Answers, for CS 3251 – Programming in C. Part 6. (For Part 5 of this series, pls see here: 16 marks Q & A on Loops (Unit 1). ) Pls see the above images. The same content is given in text form below. Anna Univ Exam Prep: CS 3251: Programming in C: Previous…
-
(Part 4 of this series of Q-A is here: 16 marks, Q-A, structures in C, Unit 4. )16 marks Q-A on loops (Unit 1), Nov/Dec 2022, Anna Univ, CS 3251 (Programming in C) Pls see the images below. Anna University Past Years Exam Q & A CS3251 : Programming in C Nov / Dec 2022,…
-
Anna University exam prep CS 3251 – Programming in C Past years Questions and Answers – Part 4. (See Part 3 here: 2 marks Q-A on Unit 1. ) Here, 16 marks Q-A on struct (Unit 4) from Nov/Dec 2022. Pls see the images below. CS3251 – Programming in C16 Marks – Nov / Dec…
-
Today we shall learn about functions. It is a very simple and very useful concept. Pls see the images below. Function is just a name that we give to a block of code. And whenever we want to execute that code, instead of writing the entire code, we can simply call the function by its…
-
Recursion lesson – continued. (For Part 2 of this series, pls see here: Recursion Tutorial Part 2.) In this lesson, we’ll use recursion to write a function to compute the n-th term of the Fibonacci series. Pls see the images below. Pls see the above images. The same content is given in text format below.…
-
(For part 1 of this tutorial on recursion, pls click here: Recursion – Part 1.) In this lesson, we shall look at a few more simple problems on recursion, and their solutions. Problems covered in this lesson: What is recursion? Recursion is the technique of breaking down a problem into similar problems of smaller size,…
-
This lesson is an introduction to recursion. (See here for more posts on C Programming.) In this lesson, we shall get introduced to recursion in C. Pls see the above images for learning through illustrative images. Recursion is a nice technique, which helps in solving complex problems using just few lines of code. Just as…
-
We shall look at using for loop to find the sum of different number series. (For the previous lesson, click here: for loop tutorial – Part 2) Q.1. Design a loop to display the number series: 3, 7, 11, 15, 19, 23. Solution. We’ll make the loop counter start at 3, and have it go…