Write a program that displays the keyed in character and the next character in the ASCII table.
C Programming Language / Data Types in C Language
1864Program:
/* Program: Write a program that displays the keyed-in character and the next character in the ASCII table. Author: www.atnyla.com */ #include "stdio.h" int main(void) { int ch; ch=getchar(); ch=ch++; putchar(ch); return 0; }
Output:
output one:
6 7 output two:
r s
Explanation:
None
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.
# C Tutorials
# JAVA Tutorials
# HTML Tutorials
# Computer Fundamental
# Data Structure
# DBMS Tutorials
SQL
# C# Language
# R Language
# PHP
# Python
# Vue JS