25 Feb 2015

Basic level c practice preprocessor set 1

1.     
      #define prod(a,b) a*b
main()
{
            int x=3,y=4;
            printf("%d",prod(x+2,y-1));
}
Answer:
10
Explanation:
            The macro expands and evaluates to as:
            x+2*y-1 => x+(2*y)-1 => 10




6 comments:

  1. Presently with Internet based application process, speedy online payday credits have progressed toward becoming genuinely bother free method for getting vital assets. You simply need to top off an online frame outfitting subtle elements of your business, financial balance.

    ReplyDelete
  2. Best sources to approach for getting moment endorsement payday advances are banks and money related establishments.

    ReplyDelete
  3. Individuals who look for them for the most part have a squeezing and critical budgetary need that must be met instantly, and that can't hold up until next payday.

    ReplyDelete
  4. It's that straightforward. All you have to qualify is an auto. The title must be under your name and the auto title must be clear from some other obligation.

    ReplyDelete
  5. As moment endorsement payday credits are intended for meeting quick money necessity, the endorsement statements engaged with this advance plan are incredibly adaptable and clear.

    ReplyDelete
  6. You can frequently get up to 50 percent of the auto's discount esteem, which is for the most part more than one can anticipate from, say, a payday credit. Car Title Loans Chicago

    ReplyDelete