write infinite loop in C++ which does not use any variable
or constant?
Answers were Sorted based on User's Feedback
Answer / gyanendra verma
#include<iostream.h>
#include<conio.h>
void main()
{
while!kbhit())
{
gotoxy(10,20);
printf(" Infinite loop by gyanendra verma ";
}
getch();
}
kbhit() : - A function that wait untill key press
| Is This Answer Correct ? | 3 Yes | 14 No |
Are there interfaces in c++?
what is a class? Explain with an example.
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
What is Name Decoration?
Explain rtti.
Difference between delete and free.
Differentiate between declaration and definition in C++?
Explain the difference between c++ and java.
What is the best c++ compiler?
What is the default access level?
What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same
Explain the difference between new() and malloc() in c++?