skip to main |
skip to sidebar

07:26

Jegadeesan
No comments
- Will the following program execute?
void main()
{
void *vptr = (void *) malloc(sizeof(void));
vptr++;
}
- How about this one?
void main()
{
char *cptr = 0?2000;
long *lptr = 0?2000;
cptr++;
lptr++;
printf(†%x %xâ€Â, cptr, lptr);
}
Will it execute or not?
- When the processor wakes up after power on, it goes to a particular memory location. What is that memory location called?
- What is the difference between Mutex and Binary semaphore?
- Write a program to set 2nd bit in a 32 bit register with memory location 0×2000?