Efficient data structure for store/search list of 1000 records
a)array b)double linked list c)circular queue d)hash table
Answers were Sorted based on User's Feedback
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....
inline function is there in c language?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
Determine the result of performing two successive block transfers into the same area of a frame buffer using the binary arith operations
write a programme to convert temperature from farenheit to celcius?
what will be the out put. #include<stdio.h> void main() { printf("Output:"); printf(1+"vikashpatel"); }//output: ikashpatel
how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"
while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?
main() { char x; while(x=0;x<=255;x++) printf("\nAscii value %d Charater %c",x,x); }
What is enumerated data type in c?
Are global variables static in c?
How can I discover how many arguments a function was actually called with?