answersLogoWhite

0

#include<stdio.h>

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Which loop is also called an exit-condition loop in C programming?

The do while loop is also called an exit condition loop in c, c++, and java.


How can I create a knot for loop in my programming code?

To create a knot for loop in programming code, you can use a loop structure that repeats a block of code a specific number of times or until a certain condition is met. This loop allows you to iterate through a sequence of instructions multiple times. You can use keywords like &quot;for&quot; or &quot;while&quot; in languages like Python, Java, or C to implement a knot for loop.


What is the definition of 'nested' in C programming?

In C a structure within a structure is called nested. For example, you can embed a while loop in another while loop or for loop in a for loop or an if statement in another if statement.


Is there any rule that if I use an If in a loop then i cant use that if in another loop?

If your question makes sense at all, and it is about programming, then the answer is no.


How do you use for command in Unix programming?

AnswerYou do not mention the programming language you intend to use. The implementation of looping constructs differs from one programming language to another. For instance, in the 'C' programming language, you might do something like the following:for(;;) {/* Some code or other would go here to do something. */}The above indicates an 'Endless Loop' in 'C'.If programming in Ruby, Basic, Fortran, Perl, Python, PHP, Shell, Awk (including Nawk and Gawk) or one of the many other programming languages available on Unix/Linux systems, your 'for' loop may look very different. [JMH]


What is meant by for loop in C programming?

loops execute a set of insructions repeatedly for a certain numbers of times..


What are the Rules associated with for loop in C programming?

There are no "Rules", you only have to remember the syntax:for (; ; ) it is the same thing as:;while () {;}


What is difference between select Case statement and nested loop in c programming in UNIX?

UNIX has no bearing on the C language; it is cross-platform. There is no select/case in C, you probably meant switch/case. However, a switch/case is a conditional jump while a nested loop is a loop within a loop. Besides the C language they have nothing in common with each other.


How many rows do the update queries fetch inside a while loop?

Is your question about C programming or Oracle Database. From the stand point of C programming your question does not make sense. Perhaps you need to rephrase the question.


How can you define null statement in loop in C programming?

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.


Can you provide an example of how to use a loop variable in a programming language?

In programming, a loop variable is used to control the number of times a loop runs. For example, in Python, you can use a loop variable like &quot;i&quot; in a for loop to iterate over a list of numbers: python numbers 1, 2, 3, 4, 5 for i in numbers: print(i) In this code snippet, the loop variable &quot;i&quot; is used to iterate over each number in the list &quot;numbers&quot; and print it out.


What is d command for squareroot in C programming?

There are no commands in C-programming, you should use function sqrt from math.h