While(1)
{
}
when this loop get terminate is it a infinite loop?
Answers were Sorted based on User's Feedback
Answer / senthilmanikandan
It is finite loop...
if loop reaches Stack Overflow then it will automatically
terminated....
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / hemas
yes, it is infinite loop.
it will terminate after stack overflow occur.
| Is This Answer Correct ? | 2 Yes | 0 No |
What are the features of c languages?
What is the difference between NULL and NUL?
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
What is the difference between printf and scanf in c?
What are c header files?
AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST?
Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;
18 Answers Accenture, Cisco, Egentec, HCL, Ideaz, Infosys, M-Systems, MYR, TCS,
3. When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these
what is difference between #include<stdio.h> and #include"stdio.h"
Program to find the sum of digits of a given number until the sum becomes a single digit
4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.
Write a c program to demonstrate character and string constants?