User Profile

Collapse

Profile Sidebar

Collapse
msq2004
msq2004
Last Activity: Jun 5 '07, 11:42 AM
Joined: Jun 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • msq2004
    started a topic Macro in main function.
    in C

    Macro in main function.

    Write a macros in which swap two number without using 3rd variable and then call
    Macro in main function.

    Hint: a=4, b=2 after swapping a=2, b=4.
    See more | Go to post

  • msq2004
    started a topic malloc function
    in C

    malloc function

    Write a program using malloc function. In which you take input from user and allocate memory equal to square of this number. Which multiply numbers and draw a table in the following format?

    Hint: User enters 3 then program allocates equal to 9 integer memories.

    Output:1

    Enter a single digit number:
    2
    The multiplication table of 2 is:
    1 2
    ----------------...
    See more | Go to post
No activity results to display
Show More
Working...