Answers for "while(1) in c"

C
1

correct while loop syntax in c

while(condition) {
   statement(s);
}
Posted by: Guest on August-02-2021
-1

do-while in c

#include <stdio.h>
int main()
{
	int j=0;
	do
	{
		printf("Value of variable j is: %dn", j);
		j++;
	}while (j<=3);
	return 0;
}
Posted by: Guest on December-08-2020

Code answers related to "C"

Browse Popular Code Answers by Language