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 / srinivas

Ans: hi

Description:scanf() return number of succesful reading from
STDIN.in this case 1 input read from console.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Meaning for soot:carbon, ash: ?

656


Logical appitude

1116


They were having __ essential debate on __ role of girl empowerment in __ auditorium.

2064


Why. Use 4 to 20 mA. For instrument transmuter

1688


Explain briefly Gardner’s theory of Multiple Intelligence.

621






When u loved someone and he/she is trying to throw a grenade in crowed place. What you will do ? you will kill him/her ? For this sentence we need to write an essay altest 1 page.Please help me in this by posting the answers to sruthi_53@yahoo.co.in

1514


Differentiate between content and structural words.

618


dear sir, i want last 5yrs question papers of clerical exam of sbi

1822


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

1896


Attempt a brief explanation about the scope of English language education at school and college levels.

633


ability to deal objectively and effectively with detainees on an individual or group basis ,regardless of their nationality religion ,culture,age or gender.

2724


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

618


tell me your family background.

2467


The word inference relates to ?

662


WHY AND WHERE RTGS TO BE USED.

1733