what is the value of b
if a=5;
b=++a + ++a
Answer Posted / pawan patil
it's very simple that value of b=13
because the actual value of a=5 then
b=++a + ++a
b=(6) + (++6)= 12
b= (6) + (7)=13
then b=13
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Who invented b language?
int i=10; printf("%d %d %d", i, i=20, i);
Are there constructors in c?
Here is a good puzzle: how do you write a program which produces its own source code as output?
What is the purpose of scanf() and printf() functions?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What do header files do?
Who developed c language?
Do you have any idea how to compare array with pointer in c?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
what are # pragma staments?
What is unsigned int in c?
What is string concatenation in c?
Why cant I open a file by its explicit path?