what is the difference between arrays and linked list
Answer Posted / priya
All elements of array stored in contiguous memory location.
While in case of linked list each node does not stored in
contiguous memory location
| Is This Answer Correct ? | 25 Yes | 6 No |
Post New Answer View All Answers
Why is not a pointer null after calling free?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
What is enumerated data type in c?
Why do we use pointer to pointer in c?
Explain what is the stack?
Why header file is used in c?
What does volatile do?
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
What is class and object in c?
Is calloc better than malloc?
What is nested structure with example?
Explain the use of 'auto' keyword
Explain heap and queue.
What is variable initialization and why is it important?