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
answer will be 0 not 1
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
how should functions be apportioned among source files?
What is a dynamic array in c?
What are the loops in c?
Does * p ++ increment p or what it points to?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
By using C language input a date into it and if it is right?
Tell me with an example the self-referential structure?
What is an example of structure?
What is #ifdef ? What is its application?
What is clrscr in c?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What is a #include preprocessor?
Write a program for Overriding.
What is the difference between typedef struct and struct?
What is the difference between near, far and huge pointers?