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
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
What is a ternary operator in c?
How do I get a null pointer in my programs?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Which are low level languages?
What is the use of parallelize in spark?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
How can I find out how much free space is available on disk?
What is the advantage of an array over individual variables?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
What is the difference between new and malloc functions?
Explain what are linked list?
Differentiate between declaring a variable and defining a variable?
What is use of integral promotions in c?