COMMONLY ASKED QUESTIONS IN INTERVIEW | C Programming Interview Question | Tricky Interview Question In C Language | C Programming Confusing Interview Questions | C Language Various Questions for Viva
Declare a pointer which can point printf function in c.
int (*ptr)(char const,…);
What are merits and demerits of array in c?
(a) We can easily access each element of array.
(b) Not necessity to declare two many variables.
(c) Array elements are stored in continuous memory location.
Demerit:
(a) Wastage of memory space. We cannot change size of array at the run time.
(b) It can store only similar type of data.
Tell me a all sorting algorithm which you know.
(a)Bubble sort
(b)Selection sort
(c)Insertion sort
(d)Quick sort
(e)Merge sort
(f)Heap sort
Thanks for this tricky interview questions solving.
ReplyDeleteInterview Questions