A
Q. Which of the following is the correct output for the program given below?
Code:
#include <stdio.h>
int main ( )
{
float floatvalue = 8.25;
printf ("%d
" , (int) floatvalue);
return 0;
}
int main ( )
{
float floatvalue = 8.25;
printf ("%d
" , (int) floatvalue);
return 0;
}
- Correct Answer - Option(D)
- Views: 42
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.