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 / shruti
if eale is else
and
int = 3 is int i = 3
then,
the answer is 1...
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
explain what are actual arguments?
Can 'this' pointer by used in the constructor?
What is a program flowchart and how does it help in writing a program?
When the macros gets expanded?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
Is there sort function in c?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is the difference between printf and scanf )?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What does c value mean?
What is a void * in c?
What is hashing in c language?
What is C language ?
What are header files and what are its uses in C programming?
What does void main () mean?