how the following printf statement works
From: aditya (adityavasishth_at_gmail.com)
Date: 10/29/04
- Next message: Willem: "Re: C to Java Byte Code"
- Previous message: Joona I Palaste: "Re: [OT]Re: C to Java Byte Code"
- Next in thread: Ravi Uday: "Re: how the following printf statement works"
- Reply: Ravi Uday: "Re: how the following printf statement works"
- Reply: Joona I Palaste: "Re: how the following printf statement works"
- Reply: Stuart Gerchick: "Re: how the following printf statement works"
- Reply: Dan Pop: "Re: how the following printf statement works"
- Reply: Martin Ambuhl: "Re: how the following printf statement works"
- Reply: CBFalconer: "Re: how the following printf statement works"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Oct 2004 01:59:36 -0700
hi,
Can anybody please tell me that how the following printf(...)
statement works-
main(){
int d=9;
printf("%d",printf("%d"));
return 0;
}
The output is 91.
Thanks,
Aditya.
- Next message: Willem: "Re: C to Java Byte Code"
- Previous message: Joona I Palaste: "Re: [OT]Re: C to Java Byte Code"
- Next in thread: Ravi Uday: "Re: how the following printf statement works"
- Reply: Ravi Uday: "Re: how the following printf statement works"
- Reply: Joona I Palaste: "Re: how the following printf statement works"
- Reply: Stuart Gerchick: "Re: how the following printf statement works"
- Reply: Dan Pop: "Re: how the following printf statement works"
- Reply: Martin Ambuhl: "Re: how the following printf statement works"
- Reply: CBFalconer: "Re: how the following printf statement works"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]