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
What is the advantage of a random access file?
Who invented b language?
What does c value mean?
What is the general form of a C program?
What does c in a circle mean?
Are negative numbers true in c?
What is the difference between printf and scanf )?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What is nested structure in c?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
Is it better to bitshift a value than to multiply by 2?
What is a function simple definition?
What are structures and unions? State differencves between them.
What are conditional operators in C?
How can I find the modification date and time of a file?