Explaining syntax of decision control statements in c


Answer the following questions.

(a) Why C is called a middle level language?

(b) Explain the use of main in every C program?

(c) What do you mean by a void data type?

(d) What is the difference between a variable and a constant?

(e) Where must we use a go to statement?

(f) What is the difference between a character and a string in C?

(g) What do you understand by function prototype?

(h) Define recursion. What is its use?

(i) What is a random access file?

(j) What is a pointer? What is its use?

Question 2) Describe various data types available in C in detail with example of each.

Question 3) Write a program in C to determine the sum of digits of a 5 digit integer number.

Question 4) What are various decision control statements in C? Give syntax and example of each.

Question 5) Describe various string handling functions of C with suitable example.

Question 6)(a) How is a two dimensional array stored in memory?

(b) Write a program to determine the factorial of a number using recursion.

Question 7) Distinguish between pass by value and pass by address. Write a program to swap values of two numbers using both methods.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Explaining syntax of decision control statements in c
Reference No:- TGS08281

Expected delivery within 24 Hours