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
Who developed c language?
Why shouldn’t I start variable names with underscores?
Difference between strcpy() and memcpy() function?
In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]
How many data structures are there in c?
Can we use visual studio for c?
Difference between Function to pointer and pointer to function
What do you mean by a sequential access file?
Explain what happens if you free a pointer twice?
What is a program flowchart and how does it help in writing a program?
What is the use of gets and puts?
Is a house a mass structure?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
What is the difference between if else and switchstatement