how have u got the input...u must be having some counter which tracks the number of inputs..why not try using the same counter for the output!!
trying googling sequence point and u will understand why it is an undefined behaviour
start doing the question..let us know if you face any issue..no one will help if u don't give a shot to find the solution.. :)
if u r reading the file character by character..ignore the character read whenever there is a space ...tab...newline..or any other white space ......
ECMAv262 (in section 7.6) says: A token is identified as an identifier if it consists of some combination of '$', '_', Unicode Letter ,Unicode...
what u can do is open the file in binary mode and read it using fread... hence u will be able to retrieve everything... the problem u have is...
u write the code ...and then ask questions ...no one will write it down for u ... :)
don't u think ur code is broken... int A[3]; this variable is local to the function and u r trying to return its base address... and that too...
for this there is an OS based solution..which OS are u using ...??
shabbir, the example that you have posted is not of destructor overloading... and even in the case when u redefine a member function of the...
i hope u will understand with this example: ASSUMING: ks (in lower case) is an in built function int p = 5; Now, KS(p) will call the function...
because char is treated as signed char... the range for signed char is -128 to 127 ... now think on these terms 1) number is stored as its...
it is not an unexpected output... remember everything is stored at the end of the day as binary number only... now try representing it 65.8 in...
try this one...just look at it carefully and i believe u will identify the mistake u were making... void main() { int i,j; char d;...
Separate names with a comma.