Archive for November, 2006

System Boot up .. by praveen

When the processor wakes up after power on, it goes to a particular memory location. What is that memory location called?

Comments (1)

incrementing void pointer? by praveen.

Will the following program execute?void main()
{
void *vptr = (void *) malloc(sizeof(void));
vptr++;
}

Comments (1)

Static Classes use..?

What is the use of static classes ?

Comments (2)

What is this…?

Explain about Double pointing ?

Leave a Comment

Constructor to a template class?

Can I have constructors in templates Classes ? explain with Eg

Leave a Comment

Dff between enum,const and # define?

What ares the differences between
a) enum
b) const
c) # defines. Compare the three ?

Comments (2)

can u assign a reference to Null?

What is the difference between pointer and a reference?

can u assign a reference to Null?

Comments (1)

Virtual Constructors

Can we have virtual constructors in C++? If not, is there anyway to simulate the virtual constructor behaviour?

Comments (1)

byte order testing?

How can I test whether my system’s byte order is big endian or little endian.?

How can I convert from big to little endian?

Comments (2)

What is the size of an Integer ?

Is the size of an Integer Platform Dependent or Architecture Dependent?

Comments (3)