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

C Language Questions

Uploaded by

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

C Language Questions

Uploaded by

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

C

PROGRAMMING
INTERVIEW QUESTIONS
FOR COLLEGE
PLACEMENT

Learn Coding
https://www.youtube.com/@LearnCodingOfficial/featured
Learn Coding

Ankush Kushwaha

Akhilesh Kushwaha
Learn Coding

...INTRODUCTION...
Welcome to the world of C programming! As
you embark on your journey to excel in this
powerful language, it's important to master
itsfundamental concepts. In preparation
for college placements, we have compiled a
set of interview questions that will test your
knowledge and problem-solving skills. These
questions cover various aspects of C
programming, including data types, control
structures, arrays, functions, pointers, and
more. Whether you're a novice or an
experienced programmer, this collection will
challenge and enhance your understanding
of C. So, get ready to dive into the world of C
programming and ace your college
placement interviews!
Learn Coding

Question 1
What is C Language ?
main feature of c language
facts about C
why use C

Answer

Question 2
What is Header file in C ?

including header files


what is .h extension in C ?
why use C ?

Answer

Question 3
What are Datatypes in C?
types of datatypes
size of datatypes
value range of datatypes

Answer
Learn Coding

Question 4
What is Variable in C ?
types of variables
rules of creating variables

Answer

Question 5
What is 'Keyword' in C?
total keywords in C Language
examples of keywords

Answer

Question 6
What is Array ?
properties of array
advantages/disadvantages of array
initialization and declaration of array

Answer
Learn Coding

Question 7
Loop in C
types of loops in C
for loop vs while loop vs do while loop
difference between break and continue

Answer

Question 8
Discuss about Functions in C
what is function ?
syntax of function
what is function declaration?
what is function defination?
what is function call?

Answer

Question 9
What is Recursion?
how are recursive functions stored in memory?
what is the base condition in recursion?
what is direct and indirect recursion?
time complexity of recursive function

Answer
Learn Coding

Question 10
Call by value vs Call by reference
what is call by value in programming
what is call by reference in programming

Answer

Question 11

Structure vs Union
what is structure in C
what is union C ?
Declaration of structure and union

Answer

Question 12
What is the difference between C & C++?
features of C
features of C++
applications of C & C++

Answer
Learn Coding

Question 13
What are Pointers ?
types of pointers
how to use pointers
size of pointers
pointer arithmetic

Answer

Question 14
Discuss about the C Storage Class
how many storage class are use in C ?
auto vs extern vs static vs register

Answer

Question 15
What are Operators in C ?
types of operators
what is the difference between the ‘=’ & ‘==’ operators ?
precedence of Operators in C
what is prefix and postfix operators in C ?

Answer
Learn Coding

Question 16
What is File ?
why do we need File Handling in C ?
types of Files in C
C File Operations

Answer

Question 17
Normal Variable vs Static Variables
what are static variables ?
properties of static variables
what are normal variables ?

Answer

Question 18
What do you mean by 'Identifier' ?
rules for constructing C identifier
types of identifier
differences between Keyword and Identifier

Answer
Learn Coding

Question 19
Difference between Scope and Lifetime
what do you mean by scope of a program ?
global vs local variables
lifetime of C variables

Answer

Question 20

Typecasting in C
why we use typecasting ?
how typecasting is performed in C

Answer

Question 21

Actual vs formal parameters in C


what are actual parameters ?
what are formal parameters ?

Answer
Learn Coding

Question 22
Swap two numbers without using third variable

Answer

Question 23

Print Natural number without using Loop

Answer

Question 24
Write a program to check if a given number is
Binary or not

Answer

Question 25
Add two numbers without using '+' operator

Answer
Learn Coding

Question 26

Can we write a C program without semicolon?

Answer

Question 27

Find the output of following code :

main()
{
a=10;
c= ++a + a++ - --a;
printf("%d",c);
a++;
++a;
printf("%d",a);
}

Answer

Question 28

Check whether given numbers is odd or even without


using '%'

Answer

You might also like