Answer Posted / nashiinformaticssolutions
Memory can be dynamically allocated using functions like malloc(), calloc(), realloc(), and freed using free().
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between array_name and &array_name?
Explain is it better to bitshift a value than to multiply by 2?
What is the size of structure pointer in c?
How would you obtain the current time and difference between two times?
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.
Where we use clrscr in c?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
Can two or more operators such as and be combined in a single line of program code?
What do the functions atoi(), itoa() and gcvt() do?
What is static volatile in c?
What is preprocessor with example?
Can we initialize extern variable in c?
Write program to remove duplicate in an array?
What is the purpose of the statement: strcat (S2, S1)?