what does the following function print?
func(int i)
{
if(i%2)return 0;
eale return 1;
}
main()
{
int =3;
i=func(i);
i=func(i);
printf("%d",i);}
Answer Posted / manju
The code returns error as i is undeclared see in main int
=3 and instead of else eale is used.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is chain pointer in c?
Is main a keyword in c?
Is c still used?
Why & is used in c?
What is auto keyword in c?
How old is c programming language?
What does c in a circle mean?
What is difference between array and structure in c?
What is function pointer c?
Why isnt any of this standardized in c?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Is c procedural or functional?
What is the Purpose of 'extern' keyword in a function declaration?
What are the c keywords?
How do I get an accurate error status return from system on ms-dos?