Brief Answer Questions:
[10 × 1 = 10]Define object code.
Write the rule to define a variable.
Is printf() formatted or unformatted I/O? Justify.
What do you mean by implicit type conversion?
Why do we need exit function?
Define Null character.
How does complier determine the life time of a variable?
List any one advantage and disadvantage of pointer.
When do we prefer union rather than structure? Give an example.
What is the difference between append mode and write mode in file handling?
Short Answer Questions: (Attempt any FIVE Questions)
[5 × 3 = 15]Draw a flowchart to find the smallest among three given integer.
What are the different data types in C programming and how are they used?
Describe the significance of escape sequence and delimiter with example.
How pointer is used in arithmetic operation? Illustrate with an example.
Create a structure "mobile" with data member model and price and display the model of mobile having price more than Rs 10,000.
Write a program to copy the contain of one file to another file.
Long Answer Questions: (Attempt any THREE Questions)
[3 × 5 = 15]Write a program to find the sum of digits of given integer using recursion. (eg: input = 123, output = 1+2+3=6)
How do you draw a rectangle in Graphics in C? Write the codes.
Describe any four storage classes in C with example.
Display the following pattern using loop.
BIMMIB
IMMI
MM
Comprehensive Answer / Case / Situation Analysis Questions:
[2 × 10 = 20]Discuss some commonly used string library functions in C programming. Provide examples of each function.
Compare and contrast passing arguments by value and passing arguments by address in C programming. Provide examples.