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
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Which are low level languages?
What are the basic data types associated with c?
What is the use of pragma in embedded c?
Write a program to swap two numbers without using third variable?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
Explain the properties of union. What is the size of a union variable
Is void a keyword in c?
I have a varargs function which accepts a float parameter?
What is the use of ?: Operator?
Is malloc memset faster than calloc?
How many levels of pointers can you have?
What is the use of header?
Can stdout be forced to print somewhere other than the screen?
What is difference between static and global variable in c?