c interview

2

Click here to load reader

Upload: adharsh-rs

Post on 28-May-2017

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: c Interview

http://www.tutorialspoint.com/cprogramming/ .................very very basic u should study first... then only read other things

1. What is the difference between c and c++ ?

2.what is procedural programming, modular programming, OBJECT ORIENTED PROGRAMMING ?...ans given in...http://studytipsandtricks.blogspot.in/2012/04/9-major-differences-between-procedure.html

3. Write a c program to reverse a string.

4. Study the idea of palindrome, armstrong number, checking even/odd no ?

5. DIFFERENT SECTIONS OF c ++: Abstraction, Polymorphism, Inheritance further two things are there, njan forget....

6. Operator overloading in C++ with an example....

7. study everything with an c code as example

8. If unable to go by c code. Draw and your idea using flowchart....... and tell them this is the thing........very important... flowchart symbols

9.. What is null pointer.

10. stack filled in which form....Last In First Out (LIFO) or FIFO( First In First OUT) answer is LIFO

11. Very IMportant.....RECURSIVE FUNCTIONS.......Write a c code for finding factorial of a number using recursive function.....

12. Operator and operand

13. storage class specifiers...extern, static, auto,register and their c code examples and their uses/ advantages....

14.. What is variable initialisation, declaration and l value and r value of a

Page 2: c Interview

variable

15. function definition, function declaration, fn body..

16. array naming which have rows and columns, array initialisation,, array declaration...

17. Call by value and call by reference with examples........................................very very important

18. If U have C++.......then read function overloading,, virtual functions ,class .....

19. C command line arguments with example

20.. static and dynamic memory allocation

21.. Which memory allocation for array....queue...stack...linked list....

22.. difference between malloc() and calloc().......

23.. preprocessor....compiler,.....interpreter....basic idea...diff between them...

24.. difference between constant and variables...

25.. Difference between STRUCTURES and UNION...................very important

26,. what is typedef and its use in c....

27...what is macros in c...study with example

28. What is header file and its use..

Copy and put in internet and study the questions:

http://studytipsandtricks.blogspot.in/2012/05/15-most-important-differences-between-c.html

http://techpreparation.com/e-books/c-interview-questions-techpreparation.pdf

http://www.tutorialspoint.com/cprogramming/ .................very very basic u should study first... then only read other things