Whats wrong if anything with the following function call sca

What\'s wrong, if anything, with the following function call:

                        scanf(%d,first);

Solution

Answer: It is a wrong with this function call. Control string and & are missing.

It should be like this for reading a value and storing into \"first\" variable

scanf(\"%d\",&first);

What\'s wrong, if anything, with the following function call: scanf(%d,first);SolutionAnswer: It is a wrong with this function call. Control string and & ar

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site