#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


Please Help Members By Posting Answers For Below Questions

1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3289


please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics

2967


Explain the difference between malloc() and calloc() in c?

676


What are the advantages of Macro over function?

1426


When should you not use a type cast?

761






What are Macros? What are its advantages and disadvantages?

750


Explain how do I determine whether a character is numeric, alphabetic, and so on?

755


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

772


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

839


In C language, a variable name cannot contain?

869


What is the size of structure pointer in c?

704


What is the advantage of an array over individual variables?

845


What is your stream meaning?

720


What is the difference between near, far and huge pointers?

704


what value is returned to operating system after program execution?

1699