What the scanf function do?what is the output for
if(scanf("%d",&i)==1)//input value is 10
{
printf("hi");
}
else
{
printf("bye");
}

Answer Posted / harshitha

scanf function stores the value in a particular address.
and the output for the above program is "bye".

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have applied for aai Jr. executive exam. kindly send me the book name or publisher for the exam

2470


How will you ensure the integration of language skills through task-based instruction?

880


when u loved someone and he/she is trying to throw a grenade in crowed place. wht u will do? do u kill him/her or not. THe answer shold be writeen altest one page. Please help me in this by posting the answer to sruthi_53@yahoo.co.in

2056


What are the example questions about the interview ? Like what? Weaknesses?? Strengths?? What?? Can you give me some clues?

1891


I have applied for the post of Executive Interns in RBI.My qualification is B tech Degree in CSE.Could u plz send me the sample question papers for the test?

2020


which of the following places was the venue of the 1999 Miss World contest.

2008


Briefly describe the skills of gathering information.

852


Hi I am nitin, i am preparing for Junior Court Assistant exam for supreme court, so I want previous question paper related with General English questions,General Aptitude questions and General Knowledge questions. My email id is nitinpal288@gmail.com Thanks in advance.

1503


general hr question so asking for interview time company please sir request

1900


how disable usb device in group policy editor all configure tell me early

2600


Why. Use 4 to 20 mA. For instrument transmuter

1938


I didn't have of visa of fiancial K1 for the USA, can I proceeded for the visa K 3 of the marriage? _

1807


please send some sample or previous papers of karur vysya bank engineering recruitment

2228


I have passed in repco bank officer scale 1.what type of interview question they may ask? pls send ur ideas to my email id nabanbadma@yahoo.co.in

4318


Two of Telugu - bier The poetry is written in:-

2125