what is the use of using for loop as "for(;;)"?
Answer Posted / lalitha
Evaluates the whole loop to be true infinite
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
can you please write a program for deadlock that can detect deadlock and to prevent deadlock.
output for printf("printf");
write a program to perform generic sort in arrays?
Code for Method of Handling Factorials of Any Size?
i don't know about working of nested for loop can any one help me
write a function that allocates memory for a single data type passed as a parameter.the function uses the new operator and return a pointer to the allocated memory.the function must catch and handle any exception during allocation
Code for Easily Using Hash Table?
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.
How to swap two ASCII numbers?
Write a program that print in screen a tree with its height taken from user by entering number of 4 digits and find the odd numbers then calculate the sum of odd numbers so he get the height of tree?
write a program that can LOCATE and INSERT elements in array using c++ programming languages.
write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used
how to diplay a external image of output on winxp by using c & c++,
Definition of priority queue was given. We have to implement the priority queue using array of pointers with the priorities given in the range 1..n. The array could be accessed using the variable top. The list corresponding to the array elements contains the items having the priority as the array index. Adding an item would require changing the value of top if it has higher priority than top. Extracting an item would require deleting the first element from the corresponding queue. The following class was given: class PriorityQueue { int *Data[100]; int top; public: void put(int item, int priority); // inserts the item with the given priority. int get(int priority); // extract the element with the given priority. int count(); // returns the total elements in the priority queue. int isEmpty(); // check whether the priority queue is empty or not. }; We had to implement all these class functions.
write a program that reads a series of strings and prints only those strings begging with letter "b"