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


Please Help Members By Posting Answers For Below Questions

What is clrscr ()?

723


Why does everyone say not to use scanf? What should I use instead?

823


what is the syallabus of computer science students in group- 1?

1928


What is the difference between memcpy and memmove?

687


Can you please explain the difference between exit() and _exit() function?

698






Is it possible to use curly brackets ({}) to enclose single line code in c program?

921


What are terms in math?

683


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

1103


Why do we use pointer to pointer in c?

696


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

787


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

1804


What is wild pointer in c?

715


What is a header file?

726


What is hashing in c?

740


Without Computer networks, Computers will be half the use. Comment.

1964