---
title: "Discussion on \"Why puts and gets used before printf scanf in C?\" | Hashnode"
description: "Discussion on \"Why puts and gets used before printf scanf in C?\". C gets() and puts() functions The gets() and puts() are declared in the header file stdio.h. Both the functions are involved in the input/output operations of the strings. C gets() function The gets() function enables the user to enter some character..."
url: "https://hashnode.com/posts/why-puts-and-gets-used-before-printf-scanf-in-c/6196324890fac127e6ea60d2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why puts and gets used before printf scanf in C?](https://rhnglobalinfo.hashnode.dev/why-puts-and-gets-used-before-printf-scanf-in-c?utm_source=hashnode&utm_medium=feed)

C gets() and puts() functions The gets() and puts() are declared in the header file stdio.h. Both the functions are involved in the input/output operations of the strings. C gets() function The gets() function enables the user to enter some character...

Nov 18, 2021 · 2 min read · rhnglobalinfo.hashnode.dev  
Read the article

-   [#c](https://hashnode.com/tag/c)

## Written by

[R.Harinarayanan](https://hashnode.com/@Harinarayanan)

@Harinarayanan · Madurai, Tamil Nadu, India

  
[View profile](https://hashnode.com/@Harinarayanan)

Crowdsource influencer @ Google || Local guide @ Google

I am currently pursuing my Bachelor's degree B.com.c.a and Google crowdsource influencer. I will mentor crowdsource influencers across the world and gained more leadership experience. I love cloud technologies and completed AWS cloud solutions course.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
