2College4Knowledge
Home
Interview Questions
Group Discussion Topics
Quiz Questions
Aptitude
Free Aptitude Tests
Cookie usage
Contact Us
Interview Questions on C|C programming Interview Questions
Page Contents of Interview Questions on C
Preparation for Interview Questions on C
Interview Questions on C basic concepts
Interview Questions on C fundamentals and Objective questions
Other exiting content in our website
Aptitude Questions
Group Discussion Topics
Questions on JAVA
Questions on Database
Free Aptitude Tests
Increase Calculation speed
You are currently reading
C OBJECTIVE INTERVIEW QUESTIONS 3
similar content
C programming Interview Questions-1
C programming Interview Questions-2
C programming Interview Questions-3
Q1 . Explain memory management in C?
Check Answer
SOLUTION
We can allocate the memory using functions like malloc(),calloc() and the memory that has been done with can be freed using free() function.
Q2 . What is the use of malloc?
Check Answer
SOLUTION
malloc allocates the memory
Q3 . what is the use of calloc?
Check Answer
SOLUTION
calloc allocates and intialises the memory.
Q4 . what is the use of free()?
Check Answer
SOLUTION
free() is used to release all the memory that has been allocated by malloc().
Q5 . Differneces between structures and unions?
Check Answer
SOLUTION
structures and unions are complex data types containing a bunch of related data of different data types
The data share memory
main differnce is that
structures allocate memory for each variable whereas union allocates memory for its largest data.
Q6 . What is the difference between structures and classes?
Check Answer
SOLUTION
The members of a class are private by default and for strucure they are public.
Classes can be inherited structures cannot.
classes can have constructors and destructors where as structures cannot.
Q7 . How to use arrays in C?
Check Answer
SOLUTION
Arrays are collection of data.In an array all the data are of the same data types.Arrays can be of single int a[10] or two dimensional arrays a[2][3].
Q8 . what are recursive functions?
Check Answer
SOLUTION
Recursive functions are the ones in which a function invokes itself.
for example fact(a){ fact(a);}
Q9 . what are jump statements?
Check Answer
SOLUTION
Jump statements are the ones that help in changing the flow wihtout any condition
some jump statements are goto,break,continue
Q10 . what are control statements?
Check Answer
SOLUTION
The control statements are used to decide the flow or execution of the statements.
main types of control statemensts are loops and conditional statements.
loops like for,while,do while
conditional statements like if else,ternary operators.
You are Currently reading
C Interview Questions-3
for more Interview Questions on C
C Interview Questions-1
C Interview Questions-2
C Interview Questions-3
Check out our other content
Technical Interview Questions
Objective Interview Questions on C Programming
Objective Interview Questions on Computer Networks
Objective Interview Questions on C++ Programming
Objective Interview Questions on Database Management Systems
Objective Interview Questions on Java Programming
Objective Interview Questions on Operating Systems
Objective Interview Questions on Unix Shell
Objective Interview Questions on Web Technology
Free Aptitude Questions
Aptitude Questions on Ages
Aptitude Questions on Averages
Aptitude Questions on Boats and Streams
Aptitude Questions on Partnership
Aptitude Questions on Profit and Loss
Aptitude Questions on Time and Work
Aptitude Questions on Time Speed and Distance
Aptitude Questions on Trains
Free Aptitude Tests
Aptitude Test on Ages
Aptitude Test on Averages
Aptitude Test on Boats and Streams
Aptitude Test on Partnership
Aptitude Test on Profit and Loss
Aptitude Test on Time and Work
Aptitude Test on Time Speed and Distance
Aptitude Test on Trains
Group Discussion Topics
Group discussion points on demonetization
Group discussion points on digitalization
Group discussion points on educational system in india
Group discussion points on effects of peer pressure in life
Group discussion points on flexible work culture flexible time and place
Group discussion points on globalization leading to global warming
Group discussion points on jingoism effects on globalization
Group discussion points on obesity and health impact
Free Quiz Questions
Question General Knowledge