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 the value of uninitialized variable in c?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What is the difference between volatile and const volatile?
How can variables be characterized?
What are the types of data structures in c?
What is page thrashing?
Explain output of printf("Hello World"-'A'+'B'); ?
What is a nested formula?
What are header files in c programming?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
How does pointer work in c?
#include
What is size of union in c?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above