Thursday, December 18, 2008

C source code questions

Write your own strcat() function
Write a C program to implement the strlen() function
Write a C program to implement your own strdup() function.
Write C programs to implement the toupper() and the isupper() functions
Write your own copy() function
Implement the substr() function in C.
Implement the strcmp(str1, str2) function.
Implement the strcpy() function.
Write your own printf() function in C
Write C code to implement the strstr() (search for a substring) function.
Implement the memmove() function. What is the difference between the memmove() and memcpy () function?
Write your own C program to implement the atoi() function
How can I search for data in a linked list?
How to read a singly linked list backwards?
Write a C program to remove duplicates from a sorted linked list
Write a C program to insert nodes into a linked list in a sorted fashion
How would you find out if one of the pointers in a linked list is corrupted or not?
Write a C program to return the nth node from the end of a linked list.
Can we do a Binary search on a linked list?
Write a C program to free the nodes of a linked list
How to create a copy of a linked list? Write a C program to create a copy of a linked list.
How to compare two linked lists? Write a C program to compare two linked lists.
If you are using C language to implement the heterogeneous linked list, what pointer type will you use?
How do you find the middle of a linked list? Write a C program to return the middle of a linked list
How would you detect a loop in a linked list? Write a C program to detect a loop in a linked list.
How do you reverse a linked list without using any C pointers?
Write a C program to implement a Generic Linked List.
How to declare a structure of a linked list?

0 comments:

Your Title