what is difference between array and structure?
Answers were Sorted based on User's Feedback
Answer / sushil
structure: structure is a collection of variable, reference
under convinent mean of keeping related information.
| Is This Answer Correct ? | 7 Yes | 17 No |
Answer / rajprasadmaity
chaining and open addressing in hash table ?
| Is This Answer Correct ? | 53 Yes | 75 No |
Answer / ankur
array starts from a
and structure means 36-24-36
most significant diffrence
| Is This Answer Correct ? | 14 Yes | 54 No |
Answer / hfghfgh
Array is Spelled Array
While Structure is spelled Structure.
| Is This Answer Correct ? | 19 Yes | 75 No |
Give the output for the following program. #define STYLE1 char main() { typedef char STYLE2; STYLE1 x; STYLE2 y; clrscr(); x=255; y=255; printf("%d %d\n",x,y); }
5. distance conversion: Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer
write a c program to find the square of a 5 digit number and print the result.
5 Answers Accenture, Sasken, Vimukti Technologies,
Do pointers need to be initialized?
What is LINKED LIST? How can you access the last element in a linked list?
what is the output of the following code? main() { int I; I=0x10+010+10; printf("x=%x",I); } give detailed reason
write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1
How to find a missed value, if you want to store 100 values in a 99 sized array?
main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }
What is anagram in c?
write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.
Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?