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 / shruti
if eale is else
and
int = 3 is int i = 3
then,
the answer is 1...
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What is the use of bit field?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
How can I remove the trailing spaces from a string?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
Write a program to find the biggest number of three numbers in c?
Explain how do you print an address?
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is the use of c language in real life?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
Explain what is #line used for?
What are shell structures used for?
Explain that why C is procedural?
difference between Low, Middle, High Level languages in c ?
what is uses of .net
Why are all header files not declared in every c program?