Correct Answer: Marshalling is the process of gathering data from one or more applications or non-contiguous sources in computer storage, putting the data pieces into a message buffer, and organizing or converting the data into a format that is prescribed for a particular receiver or programming interface
Correct Answer: A system call is a functionsubroutine which interrupts the currently executing program and transfers control to the interrupt routineThe contents of the executing program are saved and after the interrupt routine finishes its function,control is transferred back to the executing program If we talk in the context of Linux then System calls are called kernel mode Whereas API (Application Programming Interface) is a function or a set of functions, objects, protocols or data-structures for the support of application development for developers/programmers It is actually a kind of function definition which specifies how to make available of a specific service of the system/OS to the other program/process or system Read more at: https://wwwqueryhomecom/48442/os-what-is-difference-between-system-call-and-api
4. Write a method to fill all the spaces in a string with '%20'
Correct Answer: This problem isn't too hard You just need to start at the head of the list, and iterate to the end At each node, swap the values of pNext and pPrev Finally, set pHead to the last node in the list Node * pCurrent = pHead, *pTemp; while (pCurrent) { pTemp = pCurrent->pNext; pCurrent->pNext = pCurrent->pPrev; pCurrent->pPrev = temp; pHead = pCurrent; pCurrent = temp; }
Correct Answer: IUnknown as an interface of a COM object Every COM object has to support IUnknown, besides optionally adding other interfaces IUnknown is made of QueryInterface, AddRef and Release
Correct Answer: Marshalling is the process of packaging and sending interface method parameters across thread, process or machine boundaries It is not necessary when the client and the server are on the same computer
Correct Answer: COM is the component Object Model is a system whch creates application which are binary form that is language independent , object oriented ,modular and reusable