Write a program for print infinite numbers
Answers were Sorted based on User's Feedback
Answer / chavidi
void main()
{
int i=0;
while()
{
printf("%d",i)
i++;
}
}
| Is This Answer Correct ? | 25 Yes | 12 No |
Answer / shani jaiswal
main()
{
static int i=0;
printf("%d",i);
i++;
main();
return 0;
}
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / 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 |
what type of language is C?
What is meant by type specifiers?
Is c still used in 2019?
What is a macro, and explain how do you use it?
Without using main fn and semicolon,print remainder for a given number in C language
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
Difference between Function to pointer and pointer to function
which of the function operator cannot be over loaded a) <= b)?: c)== d)*
10 Answers Cisco, CTS, Google, HCL, HP,
What is the role of && operator in a program code?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
How can I read and write comma-delimited text?
What is a const pointer in c?