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 / fazlur rahaman naik & praneeth
the answer will b 1.
| Is This Answer Correct ? | 26 Yes | 3 No |
Post New Answer View All Answers
What are header files in c programming?
Write a program to know whether the input number is an armstrong number.
explain what is fifo?
What is calloc() function?
What is #include stdio h and #include conio h?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What is scope of variable in c?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
What is the difference between %d and %i?
how to execute a program using if else condition and the output should enter number and the number is odd only...
how to find anagram without using string functions using only loops in c programming
Can you apply link and association interchangeably?
Explain what is wrong in this statement?
What is the difference between fread buffer() and fwrite buffer()?
Hai what is the different types of versions and their differences