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 Is The Difference Between Null And Void Pointer?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
In which header file is the null macro defined?
What are directives in c?
Does * p ++ increment p or what it points to?
Is main an identifier in c?
Explain void pointer?
How can I read data from data files with particular formats?
Which one would you prefer - a macro or a function?
simple program of graphics and their output display
What's the best way of making my program efficient?
Why main function is special give two reasons?
how to find anagram without using string functions using only loops in c programming
What does double pointer mean in c?
What are the different types of control structures?