Thanks for resolving my issue Sebastiani and andyhunter,
Just to clarify then. So because scanf cannot look at the type of data that it is reading in, it would not be possible for any converting...
Type: Posts; User: jaXx
Thanks for resolving my issue Sebastiani and andyhunter,
Just to clarify then. So because scanf cannot look at the type of data that it is reading in, it would not be possible for any converting...
Is it possible for a float type variable to be placed in an area of memory set up as double when using the scanf() function?
My line of thinking was that a float is 4 bytes and a double is 8...
Because of no.2 of your help seekers pointers,
"Use the forum search and a search engine for answers"
instead of creating a new thread
What is the 99 value for at the end? Number of elements in the array???
Cheers!