Hi,
Following is my sample program. please let me know the output.
public static void main(String[] args)
{
int i = -1;
for( ;Convert.ToBoolean(Convert.TooBoolean(i));Console.Writeline(i)
{
console.readline();
}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Salman BegRank #284 · 8.8K reputationPosted Jan 21, 2019, 3:36 AM EST
Praveen Garigipati5 reputationPosted Jan 21, 2019, 7:03 PM EST
Salman BegRank #284 · 8.8K reputationPosted Jan 21, 2019, 7:08 PM EST
Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 22, 2019, 7:21 PM EST