You are on page 1of 2

BCA 1st SEM

PROGRAMMING IN C NBCA- 102


20 Important Questions

Q.1) What is an array? Explain 2D array with memory representation.

Q.2) Define pointer? Explain all functions of DMA (Dynamic Memory


Allocation).

Q3.) What are structure and union? How to different unions by structure.
What is the difference between them?

Q4.) Define a macro. How to substitute the macro directives in our program?

Q5 ) What is operator and its types? Explain left shift and right shift operator

Q6.)Write a program to swap two integer numbers without using the


temporary variable.

Q7.)Why is C called a mid-level programming language?

Q8.)What are the basic data types supported in the C Programming Language?

Q9.) What are preprocessor directives in C. Explain macros with suitable


Example?

Q10.)What is recursion in C? Explain with example

Q11.)What is the difference between the local and global variables in C?


Q12.)What is the difference between type casting and type conversion?

Q13.)What are the functions and their types and Explain the application
function in C Language?

Q14.)What is the difference between macro and functions.Explain the Various


types of Storage Class in C Language ?

Q15.)What is the difference between call by value and call by reference


Explain with suitable Example ?

Q16.)Write a C program to check whether a number is prime or not.

Q17.)What is static memory allocation and dynamic memory allocation?

Q18.)Write a program to check whether a string is a palindrome or not.

Q19.)What is the use of printf() and scanf() functions in C Programming


language? Also, explain format specifiers.

Q20.)What are the key features in the C programming language?

You might also like