How can we allocate array or structure bigger than 64kb?

Answer Posted / banavathvishnu

change the memory model in complier option to higher Model.
Suppose your memory model is small change it to Huge.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

719


what is ur strangth & weekness

1808


How can I get random integers in a certain range?

607


write a programming in c to find the sum of all elements in an array through function.

1698


What is pass by reference in c?

603






Can a pointer be volatile in c?

527


What is #include stdio h?

673


Write a C program linear.c that creates a sequence of processes with a given length. By sequence it is meant that each created process has exactly one child. Let's look at some example outputs for the program. Here the entire process sequence consists of process 18181: Sara@dell:~/OSSS$ ./linear 1 Creating process sequence of length 1. 18181 begins the sequence. An example for a sequence of length three: Sara@dell:~/OSSS$ ./linear 3 Creating process sequence of length 3. 18233 begins the sequence. 18234 is child of 18233 18235 is child of 18234 ........ this is coad .... BUt i could not compleate it .....:( #include #include #include #include int main(int argc, char *argv[]) { int N; pid_t pid; int cont; if (argc != 2) { printf("Wrong number of command-line parameters!\n"); return 1; } N = atoi(argv[1]); printf("Creating process sequence of length %d.\n",N); printf("%d begins the sequence.\n",getpid()); /* What I have to do next ?????? */ }

1612


Explain how can you restore a redirected standard stream?

583


Give differences between - new and malloc() , delete and free() ?

601


What are the benefits of c language?

637


What are derived data types in c?

601


What is the meaning of ?

601


Is c high or low level?

569


Explain what is a stream?

602