Question 1:
why output is "hello".

so printf is buffered function, as everyone knows who use linux/unix, every
process open 3 file by default, and these are STDOUT, STDIN, STDERR,
internally this program has STDOUT opened, and this "hello" is given to
buffer in kernel thru write system call, and kernel driver write this to
STDOUT, which is your console, that's the reason you get the output on
console.

Question 2:
even a new born child knows.

On Wed, Aug 3, 2011 at 9:09 PM, D!leep Gupta <dileep.smil...@gmail.com>wrote:

> @Admin: yup, Plz ban such type of users from this group.
>
> Dileep Kumar
> Computer Science & Engineering
>
>  --
> 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 this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
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 this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to