Ask your own question, for FREE!
Computer Science 17 Online
OpenStudy (anonymous):

what does scanf("%d",&n); in c mean

OpenStudy (agreene):

It means it will prompt the user to input a integer number and store its value in 'n'. %d signifies that the data type of input should be an integer. & signifies that it is stored in a particular address.

OpenStudy (e.mccormick):

A reference on it: http://en.cppreference.com/w/cpp/io/c/fscanf

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!