C Program to Print an Integer entered by the user
belongs to collection: C programs - Basic C Programs
All Answers
total answers (1)
Severity: 8192
Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Filename: libraries/Filtered_db.php
Line Number: 23
belongs to collection: C programs - Basic C Programs
total answers (1)
C Program to Print an Integer entered by the user - Source code
Program Output
Program Explanation
1. In this program an integer variable number is declared.
2. A message is displayed on the screen using printf function.
3. The integer entered by the user is stored in the variable number using scanf function.
4. At last, the stored integer is displayed on the screen using the printf function.
need an explanation for this answer? contact us directly to get an explanation for this answer