void main()
{
int i,j;
/*input values of i and j*/
while(i*j<0&&++i!=7&&j++!=9)
{
do something;
}
dhingra
0
Unverified User
Recommended Answers
Jump to Post> is this loop tends to infinity for any value of i and j
Like any pair of positive numbers?
Jump to PostMay be it was a test on logics and theory of binary arithmetics?..
Sometimes I think that 9 of 10 questions on the C and C++ forums are 100% absurdity...A la "Urgent help needed! I'm trying to assign void main to char then convert it to a pointer …
All 8 Replies
Salem
5,138
Posting Sage
ArkM
1,090
Postaholic
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
ArkM
1,090
Postaholic
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Aia
1,977
Nearly a Posting Maven
ArkM
1,090
Postaholic
Aia
commented:
Give me code, pleazzzzzzzzzzzzzz! ;)
+10
ahamed101
40
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.