what is difference between array and structure?
Answer Posted / preet batth
array
1.there is no keyword
2.it has decleration only
structure
1.the keywod struct is used
2.it as decelration and definition
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
How can I remove the leading spaces from a string?
Write programs for String Reversal & Palindrome check
What is int main () in c?
What is the correct declaration of main?
How can you call a function, given its name as a string?
What do you mean by command line argument?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What are the different types of pointers used in c language?
Explain how can I open a file so that other programs can update it at the same time?
Can main () be called recursively?
how to introdu5ce my self in serco
What is string function in c?
Explain enumerated types.