What type of programming approach is followed by the C program? Write the necessary steps for the Program Development Life Cycle (PDLC).
Is the break keyword mandatory in the switch statement? List the operators used in C based on utility. Explain the concept of a logical operator with an example.
What is nested loop? Write the difference between formatted and unformatted I/O operations in C.
What is DMA? List out the memory management function used in the C program. Using DMA, write a program to find the sum of N numbers.
Write a C program to read a string from the keyboard and reverse it without using string handling function.
What is the difference between a binary file and a text file? Write a C program to copy the contents of a student.txt file into another file called info.txt.
What is the use of initgraph() in the C program? Write a C program to draw a circle, rectangle and ellipse using the graphics functions with a green background and red foreground.
Attempt any TWO questions
[2x10=20]Explain different method of passing argument to a function. Write a C program to print Fibonacci sequence up to n- terms using Recursive function.
What is pointer? Write a C program that uses pointers to store cricket player's data(name, age, position and height) and display them.
What do you mean by nested structure? Create a structure named Book with members ISBN, Title, author and price. Use this structure to read records of 10 books and display the record of book having highest and lowest price.