Write a program for print infinite numbers

Answer Posted / chavidi

void main()
{
int i=0;
while()
{
printf("%d",i)
i++;
}
}

Is This Answer Correct ?    25 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should the const modifier be used?

658


Who invented bcpl language?

705


What is the difference between array and structure in c?

571


How can a string be converted to a number?

517


What are the preprocessor categories?

639






What is 1d array in c?

600


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2718


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1119


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

625


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

3842


What is a program?

665


what is a constant pointer in C

678


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

1489


What is an expression?

656


Can you explain the four storage classes in C?

642