what is the value of b
if a=5;
b=++a + ++a
Answer Posted / ashfak yeafi
The answer is 14.
The increment operator has a higher priority than the arithmetic operator.
So the equation will be,
b=7+7=14
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
Explain how does flowchart help in writing a program?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What is a const pointer?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
can anyone please tell about the nested interrupts?
What are the different types of control structures in programming?
Tell me what are bitwise shift operators?
How do you sort filenames in a directory?
Can you please explain the difference between syntax vs logical error?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
Does * p ++ increment p or what it points to?
What is ctrl c called?