Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Infinite loop in c
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
Infinite loop in c
1 Answer(s)      3 years and a month ago
Posted in : Java Beginners


When i type my variable as a uint32_t, it returns the infinite loop why?

uint32_t i;

Advertisement
View Answers

September 26, 2011 at 1:05 PM


what is uint32_t in c

uint32_t is a Unsigned of 32 bits and it's minimum value is " 0 " and maximum value is " 232 ? 1 which equals 4,294,967,295 ".

So, it's value is always >= 0 -
that is why it will return a infinite loop.

See the example given below to write a simple loop program in C.

int main () {
    int i ;
    for(i=10;i>=0;i--)
            printf("i is %d \n",i);

    return 0;
}


Related Tutorials/Questions & Answers:
Infinite loop in c
Infinite loop in c   When i type my variable as a uint32_t, it returns the infinite loop why? uint32_t i
stop an infinite for loop - Java Beginners
want this infinite for loop program to be stopped by another program named kill. when i run that another program kill the execution of infinite loop program...stop an infinite for loop  class InfiniteForLoop{ public static
Advertisements
java infinite loop - Java Beginners
("R"); } }//end of class its coming infinite loop and terminating itself...java infinite loop  class Top { public Top(){} public Top(String s... { Button2 c= new Button2("A"); public Button2(String s) { super(s
Why is my program running an infinite loop? Parallel Arrays Program
Why is my program running an infinite loop? Parallel Arrays Program  Calculate and print the average (this works) Search for Joel in the list, print... an infinite loop. Why? import java.util.*; import java.text.DecimalFormat
for what value of i the loop executes for infinite times if i prove a condition like ( i !=i+0)
for what value of i the loop executes for infinite times if i prove a condition like ( i !=i+0)  for what value of i the loop executes for infinite times if i prove a condition like ( i !=i+0
write a program to use for loop print **********========== in c language
write a program to use for loop print **********========== in c language  write a program to use for loop print **========== in c language
iPhone Do loop in Objective c
iPhone Do loop in Objective c As you know, the concept of loop is almost same in objective c programming. So, here in this tutorial of "Do loop in Objective c...[]) {     //Do Loop in Objective c
iPhone for each loop in Objective c
iPhone For each loop in Objective c In general, for each loop is used... it with a small "for each loop in objective c " example. I have... objective c example, moves around the for each loop, how to use it and get
for loop
for a number of times it is finite loop and if repetition is done infinitely it is infinite loop. Java provides several loop structures for iteration. Those...for loop  what is for loop   Loops are used for iteration
C Break for loop
C Break for loop       In this section, you will learn how to use break statement in a for loop. The break statement terminates the execution of the enclosing loop
loop
loop  what is the difference b/w do while,while and for loop..with example
loop
loop  i want to write my name(inder) through loop in java using star
For loop
For loop  Hi! Please explain the following loop: for(i=0;i<a[j];i++) THANX!!   Please reply as soon as possible
for loop
for loop  how to performs the for loop when 2 inputs given like displays the triangle shape and how to take initial values or declaration values plz explain in detailed ex. 1 12 123 1234
Loop
to understand a loop my quesiton are: what du i do wrong in my code since.... (made in blueJ) Class Loop public void loopUpGeneral(int start, int stop... dk  Hi, Please check the for loop once again: for (int i
For Loop
For Loop  Write a program using a for loop that computes the following sum: 1/2 + 2/2 + 3/2 + 4/2 + 5/2 + ... N/2 N will be an integer limit the user enters. This is an example of my upcoming quiz. I need help on knowing
for loop
for loop  using only two for loop how can print below numbers 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 8 8 8 8 8 8 8 8 7 7 7 7 7 7 7 6 6 6 6 6 6 5 5 5 5
for loop
for loop  using only two for loop how can print below numbers 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 8 8 8 8 8 8 8 8 7 7 7 7 7 7 7 6 6 6 6 6 6 5 5 5 5
loop
loop  strong textHello can someone help me with this problem,I need to output the following code using a loop the code is as follows with the user inputs in inverted commas,thanks. ENTER CODE(XX to Stop) CODE:"D24" QUANTITY:"2
uninvalidateble (infinite) session - JSP-Interview Questions
uninvalidateble (infinite) session  Hello. I have a problem with HTTPSession. Here is a client and JSP page. Every 5 seconds client requires update thruogh AJAX, so session will never expire!! So, problem is that I need
c++
c++   Assume vector "x" of integers with values of 7, 3, 5, 8, 1, 9..., x.size()-5 and 0, respectively. Third, assume a for-loop header which: 3.1...-variable-for-which-the-condition-is-true of the value of variable "b"; 3.4) has a loop
c++
c++  Characterize the following algorithm in terms of Big-O notation. Also find the exact number of additions executed by the loop. (Assume that all variables are properly declared.) for (int i = 1; i <= n; i++) sum = sum + i
iPhone Loops in objective c
of loop examples, i have discussed about... Do loop in Objective c while loop in objective c for each loop in objective c and for loop objective c 2.0 The loop concept and the usage of it, is almost same as in C & C++ programming
c#
c#  how to find out the size of the BMP image in C
C++
C++  How can i write this in dev c
C++
C++  How can i write this in dev c
c++
c++  use a prgrm as an example to xplain-: a)class b)object c)message d)cope resolution operator
c#
c#  how to find out the size of the BMP image
c++
c++  write a programme that calculates the area and circumference of a rectangle
C++
C++  dear sir How to create windows form application for login screen using C++? USER Name -TESTADMIN Password -testuser
c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used
Advertisements
 

 

 

DMCA.com