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
What is calloc()?
Write a code to generate divisors of an integer?
What is c language in simple words?
Why header file is used in c?
Explain what are run-time errors?
Describe dynamic data structure in c programming language?
What is a structural principle?
What does return 1 means in c?
When should a type cast be used?
What is a pointer and how it is initialized?
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.
What does & mean in scanf?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
What does c mean in standard form?
Why do we use null pointer?