Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

interview questions

Rating
-
Sold
-
Pages
19
Uploaded on
21-01-2022
Written in
2021/2022

Lecture notes of 19 pages for the course c language at Andhra University (interview questions)

Institution
Course

Content preview

C Language
Questions and
Answers
Abstract
This PDF contains 100+ Q&A on C Language to help you
remind yourself of basic concepts and definitions. Especially
helpful for Interviews and quick references.

, Page 1



1. What does static variable mean?

2. What is a pointer?

3. What are the uses of a pointer?

4. What is a structure?

5. What is a union?

6. What are the differences between structures and union?

7. What are the differences between structures and arrays?

8. In header files whether functions are declared or defined?

9. What are the differences between malloc () and calloc ()?

10. What are macros? What are its advantages and disadvantages?

11. Difference between pass by reference and pass by

12. What is static identifier?

13. Where is the auto variables stored?

14. Where does global, static, and local, register

15. Difference between arrays and linked list?

16. What are enumerations?

17. Describe about storage allocation and scope of

18. What are register variables? What are the advantages

19. What is the use of typedef?

20. Can we specify variable field width in a scanf()

21. Out of fgets() and gets() which function is safe to use and why?

22. Difference between strdup and strcpy?

23. What is recursion?




www.cpp-progams.blogspot.com

, Page 2



24. Differentiate between a for loop and a while loop? What are it uses?

25. What is storage class.What are the different storage classes in C?

26. What the advantages of using Unions?

27. What is the difference between Strings and Arrays?

28. What is a far pointer? where we use it?

29. What is a huge pointer?

30. What is a normalized pointer ,how do we normalize a pointer?

31. What is near pointer.

32. In C, why is the void pointer useful? When would you use it?

33. What is a NULL Pointer? Whether it is same as an uninitialized pointer?

34. Are pointers integer ?

35. What does the error ‘Null Pointer Assignment’ means and what causes this
error?

36. What is generic pointer in C?

37. Are the expressions arr and &arr same for an array of integers?

38. How pointer variables are initialized ?

39. What is static memory allocation ?

40. What is dynamic memory allocation?

41. What is the purpose of realloc ?

42. What is pointer to a pointer.

43. What is an array of pointers ?

44. Difference between linker and linkage ?

45. Is it possible to have negative index in an array?

46. Why is it necessary to give the size of an array in an array declaration ?




www.cpp-progams.blogspot.com

Written for

Institution
Course

Document information

Uploaded on
January 21, 2022
Number of pages
19
Written in
2021/2022
Type
Class notes
Professor(s)
Jayanth
Contains
All classes

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
chiranjeevijami

Also available in package deal

Get to know the seller

Seller avatar
chiranjeevijami sivani
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
4 year
Number of followers
1
Documents
20
Last sold
4 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions