void main()
{
int i=5;
printf("%d",i++ + ++i);
}
Answer Posted / sachin
ans :11
how?
-> i++ => i=i+1 => i=6;
-> ++i => i=i =>i=5(first assign the value);
i=i+1;
so i++ + ++i=6 + 5=11 i.e.ans
Is This Answer Correct ? | 3 Yes | 31 No |
Post New Answer View All Answers
What does typeof return in c?
What does 2n 4c mean?
Write a program to reverse a linked list in c.
What is the purpose of scanf() and printf() functions?
What is bubble sort in c?
What are the 4 types of functions?
What is the purpose of the preprocessor directive error?
Does c have circular shift operators?
What is "Duff's Device"?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
write a progrmm in c language take user interface generate table using for loop?
Differentiate abs() function from fabs() function.
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What is c language and why we use it?