Answer the following:
[ marks]State the types of comments available in ‘C’ programming language along with appropriate example. (ii) Describe how one-dimensional and two-dimensional arrays are initialized. (iii) Differentiate between entry-controlled loop and exit-controlled loop.
[3 marks]Answer the following:
[ marks]What do you mean by scope and lifetime of a variable? (ii) Define the terms: “algorithm” and “flowchart”. (iii) State and explain any three symbols for drawing a flowchart.
[3 marks]Describe the process of compilation of a ‘C’ program in detail.
[7 marks]What is an identifier in ‘C’ programming language? State the rules of naming an identifier along with appropriate example.
[7 marks]State various categories of operators available in ‘C’ programming language and explain any two categories in detail.
[7 marks]Write a short note on if…else if…else ladder.
[7 marks]Write a short note on nested loops.
[7 marks]Write a program in ‘C’ programming language to accept two integers from the user and print all the prime numbers existing between the two entered numbers.
[7 marks]What is a function? Explain the importance and limitations of functions.
[7 marks]Explain the concepts of local and global variables using appropriate example.
[7 marks]Write a program in ‘C’ programming language to print a Fibonacci series by creating a recursive function.
[7 marks]Explain how arrays are passed to a function along with appropriate example.
[7 marks]What is a recursive function? State its advantages and disadvantages.
[7 marks]Write a program in ‘C’ programming language to calculate and print the product of two matrices entered by the user.
[7 marks]Explain any four string handling functions mentioning their syntax and use.
[7 marks]Write a program in ‘C’ programming language to concatenate two strings entered by the user WITHOUT using any library function for string handling.
[7 marks]What is a string? Explain how it is different from an integer array using appropriate example.
[7 marks]