Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
print a semicolon without using a semicolon in the code?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
kolla
New Member
Join Date:
May 2007
Posts:
1
#1
print a semicolon without using a semicolon in the code?
May 16 '07, 05:19 AM
how to write a c programme to print a semicolon without writing using a semicolon in the main program
Ganon11
Recognized Expert
Specialist
Join Date:
Oct 2006
Posts:
3651
#2
May 16 '07, 11:47 AM
Moving this thread to the C++/C forum.
Look up some ASCII values and find the one for the semicolon character.
Comment
Post
Cancel
svlsr2000
Recognized Expert
New Member
Join Date:
Feb 2007
Posts:
181
#3
May 16 '07, 12:15 PM
use a conditional statement like if or while
int i = 59
if(printf(";")) or if(printf("%c", i))
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment