answersLogoWhite

0


Best Answer

Syntax and Loop are two completely different concepts.

  • A "Loop" is a programming entity.
  • Syntax are the rules and guidelines that define the structure of the usage of a language (especially in programming). In simple terms, it is the "Grammer" of a language.
Further on Loops: As the name suggests, a loop is a set of instructions given to the computer to continually perform a set of tasks only interrupted by the fulfilment of a condition. For instance, consider a loop in Visual Basic, for x = 1 to 10 'perform these tasks end for This loop repeats the tasks 10 times and then continues with the rest of the statements.
User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between syntax and loop?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the definition and syntax of for next loops?

loop within in a loop is called for next loop


Syntax of for loop in c language?

for(i=0;i<=0;i++)


Difference between break and continue statements in wml?

Break statements:-its terminates the current while or for loop and continue the program execution from the statement following the terminated.NOTE:-note that it is wmlscript syntax error to use the break statement outside of while or a for statements.example;Breakstatement:Break;Continue statement:-this statement terminate execution of a block of statementin while or for loop and continues execution of loop with the next iteration.note that the continue statement does not terminate the execution of loop and also is wmlscript syntax error to use the break statement outside of while or a for statements.-> in while loop, it jumps back to the condition.-> in for loop,it jumpsto the update expression.syntax:continuestatement:continue;


Difference between syntax tree and parse tree?

i dont know but i


What is the difference between a loop and a whorl fingerprint?

That a loop is curved and a whorl is shaped like a wave.


What are the basic difference between c sharp and vbnet?

They use different syntax.


What is a difference between Programming language and peoplecode?

Logic is same, but syntax is different.


What is the difference between a do while loop and a for loop in c?

the counter variable cannot be initialized in while loop before entering into the block.


What is the difference between do while and for loop?

do { //statements }while(condition); The statements inside the block get executed at-least once, no matter what condition you have placed. Only from the 2nd time the condition is checked, simply because the condition is at the last. for(initialization; condition; updation) { //statements } Here the statements don't get executed even once if the condition fails initially. The condition is at the entry itself.


What is the difference between a loop pedal and a delay pedal?

A Loop pedals recorded sound does not fade (decay).


What are the difference between a wire loop and a wire needle?

ewan ko


Is it possible to use a for loop in place of a while loop?

Yes. while loop consist of only condition statement to make for loop look as while loop we can use syntax shown below: for(;condition;) eg: for(;i<=n;)