what will be the output of this program
main()
{
int i=1;
while (i<=10);
{
i++;
}
}
Answer Posted / dharmendra kumar
It occurs a run time error function should return type.
If return type mentioned, after that nothing will print too, and loop will started infinite.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can a process change an environment variable in its caller?
what are the 10 different models of writing an addition program in C language?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
What is the difference between declaring a variable by constant keyword and #define ing that variable?
What do you mean by dynamic memory allocation in c? What functions are used?
How many levels deep can include files be nested?
Do you know what are the properties of union in c?
Does c have circular shift operators?
What are the complete rules for header file searching?
Find MAXIMUM of three distinct integers using a single C statement
Are the variables argc and argv are local to main?
What is the difference between array and linked list in c?
What is time complexity c?
in iso what are the common technological language?
How can my program discover the complete pathname to the executable from which it was invoked?