Full Marks: 60
Pass Marks: 24
Time: 3 hours
Attempt all questions: (6 x 10 = 60)
- Draw a flow chart and write an algorithm to find out whether a given number is zero, +ve or –ve.
- What are the different types of operators available in C? Explain.
- Describe the four basic data types with example.
- Differentiate between while and do while loop with example.
- Write a program to check whether the diagonal elements of a (4*4) matrix are all Zero.
- What is the function of a pointer variable? Explain the declaring and initializing pointers with example.
- Write a program using pointers to read in an array of integers and print its elements in reverse order.
- Differentiate between call by value and call by reference with example.
- What is structure? How is it different from array and Union? Discuss
- Define the graphics function. Write a program to draw a circle using graphics function.