Which of the following is not an infinite loop ?
a.while(1){
....
}
b.for(;;){
...
}
c.x=0;
do{
/*x unaltered within theloop*/
...
}while(x==0);
d.# define TRUE 0
...
while(TRUE){
....
}
Post New Answer View All Answers
Explain is it better to bitshift a value than to multiply by 2?
Explain what are the different file extensions involved when programming in c?
What is nested structure with example?
What is pass by reference in functions?
What are local static variables? How can you use them?
how can I convert a string to a number?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
a value that does not change during program execution a) variabe b) argument c) parameter d) none
The statement, int(*x[]) () what does in indicate?
the question is that what you have been doing all these periods (one year gap)
What are the 5 elements of structure?
What is bubble sort technique in c?
Is fortran still used today?
What is difference between array and structure in c?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?