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
What is wild pointer in c with example?
how to construct a simulator keeping the logical boolean gates in c
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
Explain how do I determine whether a character is numeric, alphabetic, and so on?
What are structure types in C?
How can I make sure that my program is the only one accessing a file?
Difference between strcpy() and memcpy() function?
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
What is the main difference between calloc () and malloc ()?
What are actual arguments?
what are the advantages of a macro over a function?
Is it acceptable to declare/define a variable in a c header?
What is storage class?
Explain bitwise shift operators?
program for reversing a selected line word by word when multiple lines are given without using strrev