void main()
{
int i=5;
printf("%d",i+++++i);
}
Answer Posted / mukul garg
i=5;
i++ + ++i;
5+7=12
ans:12
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are loops c?
Why do we use static in c?
Explain what is the benefit of using an enum rather than a #define constant?
Define VARIABLE?
What is NULL pointer?
What are Macros? What are its advantages and disadvantages?
Explain how can you avoid including a header more than once?
What are the differences between Structures and Arrays?
How do we print only part of a string in c?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
Why c is called a mid level programming language?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
Can you mix old-style and new-style function syntax?
How can I write a function that takes a format string and a variable number of arguments?