Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

Difference between scanf and get_int

Suppose I want a user to enter an integer between 1 and 8. To start with, here is the program that uses scanf to accept integer from user. #include <stdio.h> #include <cs50.h> int main (...
Splendid Digital Solutions's user avatar