What will be the output of
x++ + ++x?
Answer Posted / manojkumar
I have worked out this.in turbo c3
#include<stdio.h>
#include<conio.h>
void main()
{ clrscr();
int x,y;
x=4;
printf("%d",x++ + ++x);
getch();
}
output:
10
Is This Answer Correct ? | 23 Yes | 5 No |
Post New Answer View All Answers
Why is c platform dependent?
What does %p mean?
What tq means in chat?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Write a progarm to find the length of string using switch case?
Explain pointer. What are function pointers in C?
What is the difference between near, far and huge pointers?
What Is The Difference Between Null And Void Pointer?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Does * p ++ increment p or what it points to?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What is local and global variable in c?
Why static variable is used in c?
Are bit fields portable?