FIND THE OUTPUT IF THE INPUT IS 5 5.75
void main()
{
int i=1;
float f=2.25;
scanf("%d%f",&i,&f);
printf("%d %f",,i,f);
}
ANSWER IS 5 AND 2.25 WHY?

Answer Posted / biren

5 2.25

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use main function?

626


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

637


Describe how arrays can be passed to a user defined function

772


What's the best way of making my program efficient?

617


How can I implement a delay, or time a users response, with sub-second resolution?

613






What is ponter?

761


what are bit fields? What is the use of bit fields in a structure declaration?

1492


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

1791


What are comments and how do you insert it in a C program?

730


What is non linear data structure in c?

561


Why void is used in c?

555


What are loops c?

606


Is printf a keyword?

751


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

661


Which function in C can be used to append a string to another string?

639