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 / shrinidhi
in the question in 'func' function there is a word 'eale'.
what u mean by that? if it is 'else' then the ans is "1".
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Why pointers are used in c?
What is static volatile in c?
What is a structure member in c?
What is a stream water?
What is data type long in c?
Explain what are compound statements?
write a program in c language to print your bio-data on the screen by using functions.
how logic is used
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Is there any demerits of using pointer?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What are global variables?
What are the disadvantages of external storage class?
Explain what header files do I need in order to define the standard library functions I use?
Is c++ based on c?