void main()
{
int i=5;
printf("%d",i+++++i);
}
Answer Posted / sulochana
This statement is just i=i++ + ++i;
Initially i=5
i++ increments after the statement completed For now its
value is 5.
++i increments before its execution.so it is 6
It executes like
i=5+6; i.e. i=11
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
what is the role you expect in software industry?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
Tell us something about keyword 'auto'.
What are pointers in C? Give an example where to illustrate their significance.
Here is a neat trick for checking whether two strings are equal
What are the 4 types of organizational structures?
What is a program?
Which is best book for data structures in c?
Can you explain the four storage classes in C?
What are the advantages of using macro in c language?
How many bytes are occupied by near, far and huge pointers (dos)?
Explain output of printf("Hello World"-'A'+'B'); ?
What is an example of structure?
What was noalias and what ever happened to it?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34