- Will the following program execute?
void main()
{
void *vptr = (void *) malloc(sizeof(void));
vptr++;
} - How about this one?
void main()
Will it execute or not?
{
char *cptr = 0?2000;
long *lptr = 0?2000;
cptr++;
lptr++;
printf(†%x %xâ€Â, cptr, lptr);
} - 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?
Saturday, 7 May 2011
C++ developer interview questions
07:26
Jegadeesan
No comments
0 comments:
Post a Comment