answersLogoWhite

0

If you are using for loop

for(;;);

or

you can also define condition and iterations but the loop has to close there itself without any statement inside it.

In the similar way you can define while and do while loop without any statement.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What the syntax of for loop in c?

for (<exp1>; <exp2>; <exp3>) <statement> exp1 and exp3 are optional; statement can be null-statement or block-statement. Correction: All expressions are optional. An infinite loop has no expressions: for(;;);


How do you use for loop in c?

The for loop in C, and C++ and Java, is defined as ...for (init-expression, limit-expression, loop-expression) statement;The init-expression is evaluated once. Then the limit-expression is evaluated. If it is true, the statement is evaluated, which can be a block of statements, or even a null statement, otherwise, control transfers out of the loop. If the statement is executed, then the loop-expression is evaluated, and control transfers back to the limit-expression.As an example, to print the numbers 1 through 10 ...for (int i = 1; i


How will you declare null pointer in C?

#define NULL ((void *)0) /* defined in <stddef.h> */ const char *mynullvar = NULL;


What is a null hypothesis?

The null hypothesis is the statement that there is no relationship between two observations.


What is the meaning of Null Null?

In mathematics, null mean zero value.-----------In mathematics, the null set is the set without any members that is contained in every set.In computing, null is used in some languages to mean 'no value'-in particular, not zero, not true and not false. (See, for example, SQL or PHP.)In statistics, the word 'null' is most often used in the term 'null hypothesis'. Usually a null hypothesis is a statement claiming that a population parameter of interest equals a certain value. Then the alternative hypothesis might be that the parameter assumes values other than that given value.Perhaps it may be said that the word null has various meanings, depending on context.


Solution to null pointer assignment error?

Answer#ifndef NULL# define NULL ((void*)0)#endifAnswerDon't use pointers that contain NULL-value. Eg:int *myptr= NULL;...*myptr = 32; /* wrong */


What is the definitioN of null?

ts just an programming error in farmville .it would soon be alright null definition in Programming : A special value used in several languages to represent the thing referred to by an uninitialised pointer


What is null on FarmVille?

its just an programming error in farmville .it would soon be alright null definition in Programming : A special value used in several languages to represent the thing referred to by an uninitialised pointer/database


What is null in Farmville?

its just an programming error in farmville .it would soon be alright null definition in Programming : A special value used in several languages to represent the thing referred to by an uninitialised pointer/database


What is the null in Farmville?

its just an programming error in farmville .it would soon be alright null definition in Programming : A special value used in several languages to represent the thing referred to by an uninitialised pointer/database


Why do you need a terminating null character at the end of the every string in C programming?

Because the null character represents the end of the string.


What do you call a statement that determines if the null hypothesis is rejected?

it is called structural resources because it has null as word