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 clrscr ()?
Why does everyone say not to use scanf? What should I use instead?
what is the syallabus of computer science students in group- 1?
What is the difference between memcpy and memmove?
Can you please explain the difference between exit() and _exit() function?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
What are terms in math?
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?
Why do we use pointer to pointer in c?
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
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
What is wild pointer in c?
What is a header file?
What is hashing in c?
Without Computer networks, Computers will be half the use. Comment.