Recommended Answers
Jump to Postwhat is the output of your program? The code looks ok, except I'd make code an int instead of char but that shouldn't cause any problem.
The format string needs a '\n' for line feed
("%c, %d\n",
Jump to PostPeoples i have tried to make this simple progrem in C...
that will print alphabets A to Z and their equivalent ASCII code.. like this
A 65
B 66
.
.
.
Z
here is da source code...Please use English. It's "here is the source code. Unless your name …
Jump to PostI suppose you could do this, just to see who's awake ;)
for(code = *"A";code <= 0["Z"]; code += 1)
/runs.
All 9 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.