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 / ravinderreddy

1 only

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is wild pointer in c with example?

667


how to construct a simulator keeping the logical boolean gates in c

1828


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

746


Explain how do I determine whether a character is numeric, alphabetic, and so on?

755


What are structure types in C?

762






How can I make sure that my program is the only one accessing a file?

793


Difference between strcpy() and memcpy() function?

775


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

708


What is the main difference between calloc () and malloc ()?

687


What are actual arguments?

737


what are the advantages of a macro over a function?

743


Is it acceptable to declare/define a variable in a c header?

764


What is storage class?

750


Explain bitwise shift operators?

747


program for reversing a selected line word by word when multiple lines are given without using strrev

2050