C-Library-Functions
- What is the syntax of ungetc()?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
int ungetc(int c, FILE *fp)
- What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
int main()
{
unsigned int num = 15;
printf("%f\n", fabs(num));
return 0;
}
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
15.000000
- What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
int main()
{
int n = 90;
printf("%f\n", sin(n));
return 0;
}
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
0.893997
- function fabs defined math.h header file takes argument of type integer.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
False
- ungetc() may be used with ________
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
All of above