0% found this document useful (0 votes)
2 views

Important Questions in c Programming Language

Uploaded by

oprohitdx
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Important Questions in c Programming Language

Uploaded by

oprohitdx
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Pal College of Technology & Management, Haldwani

BCA 1st Sem


(Important Question)

(Introduction in C Programming)

Question1.Explain C tokens in c programming .Explain it?

Question2 .What is Variable and Identifier .Explain it?

Question3 Explain Data Types and Operators in C with help of example?

Question4 what is input output function in C?

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?

Question7Diffrence between do and do-while loop with help of example?

Question8Diffrence between continue Statement and go to Statement with help of example?

Question9What is ternary operator explain with example?

Question10What is array explain its advantages and also explain with types ?

Question11Diffrence between array Underflow and over Flow ?

Question12What is Character array? Explain with example?

Question 13Explain String handling Functions. and also explain strcat(),strcmp(),strcpy),strlen().

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

Question21. What is recursion? Explain with example?

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?

Question22 Write Short notes on following .

(i) fopen( ) (ii) fclose( )

(iii) feof( ) (iv) fseek( )

(iv) fgetc( ) (v) fputc( )

(vi)gets (vii)puts

You might also like