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

What is calloc()?

631


Write a code to generate divisors of an integer?

645


What is c language in simple words?

598


Why header file is used in c?

581


Explain what are run-time errors?

612






Describe dynamic data structure in c programming language?

609


What is a structural principle?

643


What does return 1 means in c?

589


When should a type cast be used?

577


What is a pointer and how it is initialized?

611


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1858


What does & mean in scanf?

606


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

2615


What does c mean in standard form?

601


Why do we use null pointer?

609