answersLogoWhite

0

scanf is used for reading formatted data from stdin. The general syntax is:

scanf( format , arguments);


For more information on scanf, visit the link below.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Scanf in java?

There is no scanf in Java. It is one of the keywords used in C Programming language


Define the role of printf and scanf in c language?

to write and read the values


What happens by the 'scanf' statement in C programming language?

By using the scanf statement in c,we can take the values at run time . for ex a is a variable of type int so, we can assign the value of a using scanf at run time as follows. scanf("%d",&a); here %d is the conversion specifier for integer type.


What happens by the scanf statement in c?

It's a function, not a statement. Use your help system to find out its purpose.


C program to accept a sentence using scanf?

scanf ("%[^\n]s", sentence);


What is difference between scanf and cin?

scanf is a function (available in C and C++)cin is an istream object (C++ only)Advice: when in doubt, use fgets+sscanf


Is there a function similar to the C plus plus scanf function in JavaScript?

Scanf is part of the C standard library. Although the C++ standard library includes 18 headers from the ISO C90 standard, their usage in C++ is deprecated. However, to answer the question, there is no equivalent to scanf in JavaScript.


What is a purpose of printf and scanf statements?

we write printf() b/c it printf or show us the value contained in a value on the screen after pressing ctrl+f9.


How do find mode in C-Language?

#include <stdio.h> main (){ int x; printf("Hello World! with Prey's Haircut: "); scanf("%d", x); getch(); }


Scanf function in c for strings?

Use '%s', eg: char name[64]; scanf ("%s", name);


Built-in functions in turbo c?

i want a coding of a program of a calculator using graphics in c language??


Printf and scanf Operators in C and C plus plus?

No, they are functions. Operators are -> or ++or /=