Important Questions in c Programming Language
Important Questions in c Programming Language
(Introduction in C Programming)
Question5Explain switch Statement ?Write a program in C language to check year is leap year or
not?
Question6 Explain if-else Statement ? and also Write a program in C to check number is odd or
even?
Question10What is array explain its advantages and also explain with types ?
Question 14What is a pointer in reference to C language? How do you declare pointers? Explain
using a suitable example
Question 15 Mention the difference between “ call by value” and “call by reference” by writing a
C program.
Question 16 What is the difference between the function malloc() and calloc()?
Question 17 Write a program to read two integer X and Y and swap the contents of the variable x
and Y using pointers.
Question 18 what do you understood by built-in-function? How are they different from user
defined function?
Question 19 How we declare a two dimensional array in C language Explain with an example.
Question20. Why we use structure? How we can access member variable ad member function of a structure
Question22. Difference between Static and dynamic memory allocation.with help of example?
Question 23.what is file handling. Also explain its function and also explain opening a file and closing a file in c
programming language?
(vi)gets (vii)puts