What will be the output of
x++ + ++x?
Answer Posted / srinivas
for this what is the input value of x.First of all we have
to give the input value of x.
if x = 1 then answer would be
main();
int x=1,y.
y = x++ + ++x.
printf /n'%d',y.
here y = 3
| Is This Answer Correct ? | 11 Yes | 15 No |
Post New Answer View All Answers
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
Explain what happens if you free a pointer twice?
Write a program to check whether a number is prime or not using c?
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
Explain how do you list a file’s date and time?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
How can I manipulate strings of multibyte characters?
Can you mix old-style and new-style function syntax?
What is use of bit field?
explain what is an endless loop?
Why c is called a mid level programming language?
Do you know the purpose of 'register' keyword?
What is static identifier?
What are the parts of c program?