1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Inessa05 [86]
4 years ago
13

What does "scanf(\"%d\" mean?

Computers and Technology
2 answers:
Anon25 [30]4 years ago
6 0
Scanf is a c function that takes a formatted imput from stand inpt (usually this is keyboard) 

you would actually need a 2nd parenthesis for this to be a valid function call. (one opening after scanf("%d",variable); <like that, additionally you need to direct to a variable for the value to be stored in memory, and the simi colon i've added to close the function. 

not sure why they have slashes here "\" but you don't need them. %d implies that the value to be stored is an integer, i.e. a number. 
gayaneshka [121]4 years ago
6 0
 the case of scanf(" %d", &x) you are saying "skip all white spaces, and then deal with %d which also will skip white spaces", when the second 'skip white spaces' of %d has no effect
hope it helps
You might be interested in
Write a function that returns the largest value stored in anarray-of-int. Test the function in a simpleprogram.
Minchanka [31]

<u>C program for finding the largest Value in array of integers</u>

#include <stdio.h>  

/*Function that returns the largest value stored in an array-of-int*/

int max(int array[], int m)  

{  

   int i;  

     /* Initializing variable maximum with array[0]*/

   int maximum = array[0];  

    /* Traversing array elements from 2 to last and comparing it with variable maximum*/

   for (i = 1; i < m; i++)  

       if (array[i] > maximum)  

           maximum = array[i];  

 

   return maximum; //returning maximum element of array

}  

//driver function  

int main()  

{  

   int array[] = {5, 78, 23, 65, 9}; //Input array

   int m = sizeof(array)/sizeof(array[0]); //finding the length of array

   printf("Largest in given array is %d", max(array, m));/*function calling and printing maximum element of array */

   return 0;  

}

<u>Output: </u>

Largest in given array is 78

3 0
3 years ago
At the same time (and in the same area of Europe) that Johann Gutenberg invented moveable type, an unidentified artist called th
bonufazy [111]

Answer:

In the history of graphic design, Copperplate printing uses a polished plate on which design has been engraved. Johann Gutenberg invented the Master of Playing Cards, which is also known as Copperplate engraving.

Explanation:

Copperplate invented around 1450 in Johann Gutenberg's movable system. Cooper plates are used in the intaglio process, which is also known as the printing process. Thick ink is forced into the grooves.

Copperplate is a smooth plate that has been engraved. It is a block of the plate. In this engraving, design makes on a flat surface. It is a historically significant method in print and map-making. It is used for illustrations of books and magazines.

Types:

Different type of engraving are available such as

Etching, Rotary Engraving, and Laser Engraving.

Tools of engraving:

Dremel with built-in Li-ion battery

Proxxon with Trial Glass

Dremel Engraver

Generic Micro Engraver, etc

8 0
3 years ago
Please help me with question 1!
wariber [46]
  1. 819 people never heard of saucer
  2. 12831 heard of saucers
7 0
4 years ago
Read 2 more answers
Which of the following is NOT a name of one of the central features of Facebook?
statuscvo [17]
The answer is most probably Graph Search.
7 0
3 years ago
Read 2 more answers
You enter information by keying it into the??​
Greeley [361]

Answer:

password and username

Explanation:

3 0
3 years ago
Read 2 more answers
Other questions:
  • An HP PC does not support the HP System Board Configuration tool, and you must use the HP System Board Replacement and System Di
    7·1 answer
  • Your instructor has asked you to perform some research regarding a computer OS capability of distinguishing spoken words. What i
    14·1 answer
  • What kind of security features does Microsoft Security Analyzer promise?
    5·1 answer
  • How can I use the word technology in a sentence
    6·2 answers
  • What countermeasures would you recommend to defend against routing attacks?
    10·1 answer
  • Is www part of every url address?
    6·1 answer
  • What resources can be shared over a computer network?
    12·2 answers
  • While cloud services are useful for small and midsize analytic applications, they are still limited in their ability to handle B
    5·1 answer
  • The science of networking is attributed to which government's involvement?
    11·1 answer
  • 100 POINTS PLEASE HELP
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!