what is the use of using for loop as "for(;;)"?

Answer Posted / piyush

for gating infinite time looping use for(;;),second approach
same as while(true).

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

create a stucture student containing field for roll no,class,year and marks.create 10 student annd store them in a file

2324


write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used

4437


How to Split Strings with Regex in Managed C++ Applications?

3200


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

3393


Teta-Omeg-Big-Oh Show that f(n) = n2 + 3n3 is ;(n3).

3276






Code for Method of Handling Factorials of Any Size?

2086


Write a C/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.

2149


write a program to convert temperature from fa height into celcius and vise versa,use modular programming

2545


write a program to perform generic sort in arrays?

2712


Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.

4647


i really need help about this.. write a program to display the set of odd and even numbers separately. find the highest and lowest value of the given numbers.

2093


write a program using 2 D that searches a number and display the number of items 12 inputs values input 15,20, 13, 30, 38, 40,16, 18, 20 ,18 ,20 enter no. to search : 20

3455


Code for Small C++ Class to Transform Any Static Control into a Hyperlink Control?

2655


output for printf("printf");

2078


write a program using virtual function to find the transposing of a square matrix?

2960