top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to print any statement in C without using any keyword?

+2 votes
539 views
How to print any statement in C without using any keyword?
posted Nov 21, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
any keyword means ? plz can you explore question .

1 Answer

0 votes

Keywords are not involved in printing a statement.

Please Clarify. If you mean to say "print a statement without using the predefined library functions like printf() or puts() " , refer below-

In that case you can directly use the "write system call" . Printf() internally employs write system call to print on the screen. You just have to mention the file descriptor as STDOUT, i.e. 1.

answer Dec 2, 2014 by Ankush Surelia
...