top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

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

+2 votes
160 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
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...