#includestdio.h
main()
{
printf
(
\%\d\
,
12
)
;
printf
(
\%\
d\
,
12
)
;
}
--
Regards,
SHUBHAM SANDEEP
IT 3rd yr.
NIT ALD.
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to
Hi..please repost your code after properly formatting ...it is not
readable...and throws compilation errors.
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from
check http://en.wikipedia.org/wiki/NaN
On Sat, Oct 9, 2010 at 6:15 PM, ankush jainankus...@gmail.com wrote:
#includestdio.h
void main()
{
int x;
float t;
scanf(%f,t);
printf(%f\n,t);
x=90;
printf(%f\n,x);
{
x=1;
How is the link you gave related to the output question here??
On Wed, Oct 13, 2010 at 7:20 PM, dinesh bansal bansal...@gmail.com wrote:
check http://en.wikipedia.org/wiki/NaN
On Sat, Oct 9, 2010 at 6:15 PM, ankush jainankus...@gmail.com wrote:
#includestdio.h
void main()
{
int x;
#includestdio.h
void main()
{
int x;
float t;
scanf(%f,t);
printf(%f\n,t);
x=90;
printf(%f\n,x);
{
x=1;
printf(%f\n,x);
{
x=30;
printf(%d\n,x);
hey! i am also unable to explain but one thing i got
if we use %d in place of %f,we will get the correct output.
we must use %d as x is of int data type.so thq code is itself
wrong.
or
u can change x to float data type
--
Ashutosh Tripathi
UG Student
Computer