#include<stdio.h>
int fun();
int i;
int main()
{
while(i)
{
fun();
main();
}
printf("hello \n");
return 0;
}
int fun()
{
printf("hi");
}
answer is hello.how??wat is tat while(i) mean?
Answer Posted / tatukula
in above program variable 'i' is declared as global integer ..so i=0...thats why while() condition gets failed and
prints 'hello'
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is c still so popular?
Why isn't it being handled properly?
How many parameters should a function have?
Do you know what are bitwise shift operators in c programming?
What are the benefits of organizational structure?
What is the meaning of ?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
Distinguish between actual and formal arguments.
What is page thrashing?
Can you please explain the scope of static variables?
Differentiate between declaring a variable and defining a variable?
What is a sequential access file?
What is c definition?
What are pointers? Why are they used?
Is fortran still used in 2018?