Jump to content
ChetanaSforum

kaushik.grps

Members
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kaushik.grps

  • Rank
    Newbie
  1. kaushik.grps

    Aptitude questions

    According C standard a=i++ is undefined,where as a=i+1 is possiblebcoz in 1st condition we are trying to increment value of i twice in single statement, and some compilers does not show any error & the result is not predictable by us ,if u still hava doubt go through in TEST YOUR C SKILLS BY YASHWANTH .it gets clear
  2. kaushik.grps

    c preprocessor

    compiler takes it as 3+1*1+3,so first it evaluate 1*1=1,then 3+1+3=7.so this is the answer my dear
×