Answer Posted / greg
#include <math.h>
static void checkinfinit(double x)
{
if (isinf())
{
printf("Infinite\n");
}
}
int main(int argc, char **argv, char **envp)
{
checkinfinite(1.0);
}
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is a loop?
What are file streams?
Difference between pass by reference and pass by value?
What are the different types of data structures in c?
What is assignment operator?
What is derived datatype in c?
Can you explain the four storage classes in C?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
How do you initialize pointer variables?
formula to convert 2500mmh2o into m3/hr
What do you know about the use of bit field?
In a switch statement, explain what will happen if a break statement is omitted?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is a pointer and how it is initialized?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.