Answer Posted / sarayu
1_array is the collection of similar data items but
structure is the collection of dissimilar data items.
2.structure members are accesed only by structure
variables.on the hand of array that is no need.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Write a program to know whether the input number is an armstrong number.
Explain the difference between exit() and _exit() function?
What do you mean by scope of a variable in c?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
Explain the priority queues?
What is the use of a ‘ ’ character?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What is the difference between #include and #include 'file' ?
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); } }
What is a structure and why it is used?
What is pointer & why it is used?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
Explain what is page thrashing?
What is string length in c?