void main()
{
int i=5;
printf("%d",i++ + ++i);
}
Answer Posted / basha
I have compiled this program. The ans is 12
| Is This Answer Correct ? | 45 Yes | 6 No |
Post New Answer View All Answers
Explain what is the difference between null and nul?
When should I declare a function?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Explain what does a function declared as pascal do differently?
What is #define in c?
What are examples of structures?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
How many keywords are there in c?
Why pointers are used?
What is graph in c?
What is a void pointer? When is a void pointer used?
What is the difference between test design and test case design?
What is the difference between Printf(..) and sprint(...) ?
In a byte, what is the maximum decimal number that you can accommodate?
write a program to generate address labels using structures?