What will be the output of
x++ + ++x?
Answer Posted / santhi perumal
Answer is 2x+2. For Ex: if x is 2 result is 2(2)+2 = 6.
| Is This Answer Correct ? | 7 Yes | 8 No |
Post New Answer View All Answers
Is there sort function in c?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
What is the difference between procedural and declarative language?
What is typedf?
What is the modulus operator?
How can type-insensitive macros be created?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What are pointers? What are different types of pointers?
What does sizeof return c?
Explain what does a function declared as pascal do differently?
What are # preprocessor operator in c?
What are external variables in c?
Are global variables static in c?
Explain what is a static function?
What is the best way to store flag values in a program?