what is difference between array and structure?
Answer Posted / adilakshmi
Array elements are homogeneous type.
Structure elements are different data type.
Array is the pointer to the first element.
Structure is not a pointer.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain bit masking in c?
What is the use of function overloading in C?
What is the full form of getch?
What is difference between structure and union with example?
Can you think of a logic behind the game minesweeper.
Explain is it valid to address one element beyond the end of an array?
Can 'this' pointer by used in the constructor?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
Why do we need arrays in c?
Differentiate between null and void pointers.
What is include directive in c?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
Is this program statement valid? INT = 10.50;
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
What does %d do?