How does variable declaration affect memory?
Answer / glibwaresoftsolutions
The type of data contained in that variable determines how much memory has to be allocated or reserved.
If a variable is designated as "integer type," for instance, 32 bits of memory storage will be set aside specifically for that variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
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.
printf("%d",(printf("Hello")); What it returns?
give one ip, find out which contry
What is meant by 'bit masking'?
main is a predefined or user define function if user defined why? if predefined whay?
How can we allocate array or structure bigger than 64kb?
What is Heap?
What is meant by gets in c?
What is pass by reference in c?
What do the functions atoi(), itoa() and gcvt() do?
Explain what is the difference between far and near ?
#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}