Ask a Question

whai is pointer? what is the difference between structure and union

on 2011-04-19 13:50:42   by Aman   on Computer Science & Engineering  2 answers

prasoon

on 2011-04-19 09:30:00  

A pointer is a variable that represents the location (rather than the value) of a data item, such as a variable or an array element.

prasoon

on 2011-04-19 09:30:00  

the main difference between structure & union is in memory allocation structure allocate the sum of all memory occupied by all variable. but in union the highest memory block is allocated