Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
DSA
22.4k+ articles
C++
4.2k+ articles
Strings
3.2k+ articles
C++ Programs
2.4k+ articles
C Language
1.9k+ articles
C Programs
760+ articles
C-Functions
98 articles
C Examples
95 articles
cpp-input-output
68 articles
C-Input and Output Quiz
25 articles

c-input-output

26 posts
puts() in C
Last Updated: 06 September 2023
In C programming language, puts() is a function defined in header stdio.h that prints strings character by character until the NULL characte ...read more
c-input-output
C-Output
C Language
C-Functions
Formatted and Unformatted Input/Output functions in C with Examples
Last Updated: 24 January 2022
This article focuses on discussing the following topics in detail-Formatted I/O Functions.Unformatted I/O Functions.Formatted I/O Functions ...read more
c-input-output
C Language
How to input or read a Character, Word and a Sentence from user in C?
Last Updated: 21 September 2021
C is a procedural programming language. It was initially developed by Dennis Ritchie as a system programming language to write an operating ...read more
image
Strings
c-input-output
C Language
Blogathon
Blogathon-2021
DSA
Similar Topics
DSA
22.4k+ articles
C++
4.2k+ articles
Strings
3.2k+ articles
C++ Programs
2.4k+ articles
C Language
1.9k+ articles
C Programs
760+ articles
C-Functions
98+ articles
C Examples
95+ articles
cpp-input-output
68+ articles
C-Input and Output Quiz
25+ articles
Difference between scanf() and gets() in C
Last Updated: 13 June 2022
scanf()It is used to read the input(character, string, numeric data) from the standard input(keyboard).It is used to read the input until it ...read more
c-input-output
C Language
Difference Between
Basic Input and Output in C
Last Updated: 13 May 2025
In C programming, input and output operations refer to reading data from external sources and writing data to external destinations outside ...read more
c-input-output
C Language
Input an integer array without spaces in C
Last Updated: 13 December 2018
How to input a large number (a number that cannot be stored even in long long int) without spaces? We need this large number in an integer a ...read more
c-input-output
cpp-input-output
C Language
C++
C-Input and Output Quiz
Format Specifiers in C
Last Updated: 07 May 2025
The format specifier in C is used to tell the compiler about the type of data to be printed or scanned in input and output operations. They ...read more
c-input-output
C Language
How to clear console in C language?
Last Updated: 11 November 2022
It is one of the basic need a program may required i.e clear the console during execution time.Need of a clear console screen :A console scr ...read more
c-puzzle
c-input-output
C Language
Octal numbers in c
Last Updated: 29 August 2017
There are some less known facts in C related to octal numbers. Let us look at the below example code first.Examples:[sourcecode language="C" ...read more
Misc
c-input-output
C Language
Taking String input with space in C (4 Different Methods)
Last Updated: 10 January 2025
We can take string input in C using scanf("%s", str). But, it accepts string only until it finds the first space.There are 4 methods by whic ...read more
c-input-output
C Language
scanf() and fscanf() in C
Last Updated: 10 January 2025
In C language, scanf() function is used to read formatted input from stdin. It returns the whole number of characters written in it otherwis ...read more
c-input-output
C Language
C-Input and Output Quiz
Problem With Using fgets()/gets()/scanf() After scanf() in C
Last Updated: 04 January 2022
scanf() is a library function in C. It reads standard input from stdin. fgets() is a library function in C. It reads a line from the specifi ...read more
c-input-output
C Language
C-Input and Output Quiz
C-Library
Difference between getc(), getchar(), getch() and getche()
Last Updated: 07 January 2025
In C, getc(), getchar(), getch(), and getche() are all functions that is used to read input character in different contexts. Although these ...read more
c-input-output
C Language
C-Input and Output Quiz
What is the difference between printf, sprintf and fprintf?
Last Updated: 03 January 2025
The printf() function is used as a standard method for output operations and C also provides some different versions of this function such a ...read more
c-input-output
C Language
C-Input and Output Quiz
C Program to Print Contents of File
Last Updated: 07 January 2025
C language allows users to process the files in its programs. Reading a file is a step-by-step process in which we first have to prepare the ...read more
c-input-output
cpp-file-handling
C Language
C Programs
C File Handling Programs
1 2 >>
Last
1 2 >>
Last
1 2 >>
Last
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox