Skip to content

How to enter input stream #64

Description

@EnziinSystem

Hello,

I don't see anyone mentioning the input stream for the program via Terminal simulator web.

If I have the following block code, how will the input stream enter?

#include <stdio.h>
int main() {
 int a;
 int b;

 scanf("%d", &a);
 printf("You entered for a: %d", a);
 scanf("%d", &b);
 printf("You entered for b: %d", b);
 return 0;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions