![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Latest Answer : Command line arguments can be accessed by using a string type and integer type variables as the main function arguments. The string includes all what u typed in the command line(eg:hello.exe jijo nijesh). The int variable shows the no of words in it. ... Latest Answer : This can be done Using _asm{} operator, first char* mem_ptr; Mov EAX, DWORD PTR[Memory Address] Then... Mov mem_ptr, EAX Now mem_ptr will point to the meory location needed and we can access ... Latest Answer : In linux there is a memory debugging tool valgrind.With the help of valgrind, you can easily check the memory allocation or memory deallocation. ... What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"? Latest Answer : Memory alignment is the restriction imposed on memory allocation in such a way that values associated with multibyte get assigned only at certain places of memory. Such Memory alignment though generally not very common issue in OOPS terminology as the ... Where does global, static, local, register variables, free memory and C Program instructions get stored? Latest Answer : Pointers to far objects are stored using four bytes (32 bits). The bytes are stored little endian or low to high order. The first word contains the 14-bit memory offset (bits 14 and 15 are always 0). The second word contains the page number (or segment ... Latest Answer : yes, by mentioning the name of array we get the base address of the array ... When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically? Latest Answer : free() is a function used to free the memory allocated dynamically ,by both malloc and calloc functions.free(ptr): ptr is a pointer to a memory block which has already been creeated by malloc or calloc. ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||