is the global variable and the extern variable are same???
Type: Posts; User: jaiprabuk; Keyword(s):
is the global variable and the extern variable are same???
the far pointer holds the offset address and the segment address.. so its size is 4 bytes in the 16 bit compiler.. ...wat is the offset address and segment address???give me a brief explanation...
answer is 3,4.....
coz the execution starts from right...
hence n*n is 2*2=4...
then ++n is ++2=3 ..ie..preincrement...
so getting o/p as 3,4...
in structures each member of the structure getting separate memory...
but in union the memory of the member having highest memory will be assigned for the complete union...so data will be...
wat is d real time application of union....
give the code for strcmp() n stricmp() function...
thanks for the answer...but i carries the same 10 and j carries 2...
test the code please and let me know y the value of i remains the same..
give the o/p for the following code ....also explain how...
int i=10,j;
j=sizeof(++i + ++i);
printf("%d %d",i,j);