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
Why do we use main function?
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
Describe how arrays can be passed to a user defined function
What's the best way of making my program efficient?
How can I implement a delay, or time a users response, with sub-second resolution?
What is ponter?
what are bit fields? What is the use of bit fields in a structure declaration?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What are comments and how do you insert it in a C program?
What is non linear data structure in c?
Why void is used in c?
What are loops c?
Is printf a keyword?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Which function in C can be used to append a string to another string?