Is the below things valid & where it will be stored in
memory layout ?
static const volatile int i;
register struct { } ;
static register;
Answer Posted / sugu
no it is invalid . because volatile means ever changing, but
const means the value wont be changed.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
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.
How are Structure passing and returning implemented by the complier?
Give me the code of in-order recursive and non-recursive.
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
How can I remove the leading spaces from a string?
What is the easiest sorting method to use?
Are pointers integer?
How can a number be converted to a string?
What is the difference between a free-standing and a hosted environment?
How can I sort more data than will fit in memory?
Why do we need a structure?
What is static and auto variables in c?
Tell me when is a void pointer used?
What are types of functions?