#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / gaurav
Please use gcc compiler....u will get answer 1,i.e. 5 and 12
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Explain high-order and low-order bytes.
What is the size of structure pointer in c?
Why is c so popular?
How can I find out the size of a file, prior to reading it in?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
How to write a multi-statement macro?
What is a string?
What is the difference between Printf(..) and sprint(...) ?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
find out largest elemant of diagonalmatrix
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
Why isn't any of this standardized in c? Any real program has to do some of these things.
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Why is c called "mother" language?