Thread: Need to find the solution for the Macro

  1. #1
    Registered User
    Join Date
    Mar 2006
    Location
    Bangalore, INDIA
    Posts
    43

    Need to find the solution for the Macro

    The below was one of the question i got in my test and i guessed the answer and written which may be wrong. So i want to know the right answer to the problem and how to find the solution and if explained in detail that will be of great help to me


    Thanks....

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    1. look at the standard ones, and see which take two parameters
    2. Then see which might take a struct
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Mar 2006
    Location
    Bangalore, INDIA
    Posts
    43
    in that i could two functions which take two parameters and struct, "possible answer 3" and "possible answer 4"....

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Ha ha ha.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Mar 2006
    Location
    Bangalore, INDIA
    Posts
    43
    i tried a lot but i could figure out the solution to the above problem could any one help me finding it....

  6. #6
    Registered User
    Join Date
    Sep 2001
    Posts
    752
    Without knowing that this isn't homework, we shouldn't give you the answer. Talk to your teacher, get the answer from him. If he can't explain it to you, show us you know the answer, then we can explain it.
    Callou collei we'll code the way
    Of prime numbers and pings!

  7. #7
    Registered User
    Join Date
    Mar 2006
    Location
    Bangalore, INDIA
    Posts
    43
    'm not a student to ask, i'm a professional (server specialist) but i'm learning C language and hence i found no one around could give me the answer to the question so i posted here.....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Quantum Random Bit Generator
    By shawnt in forum C++ Programming
    Replies: 62
    Last Post: 06-18-2008, 10:17 AM
  2. Find Dialog
    By Lithorien in forum Windows Programming
    Replies: 6
    Last Post: 04-25-2005, 05:28 PM
  3. Replies: 5
    Last Post: 04-16-2004, 01:29 AM
  4. linked list recursive function spaghetti
    By ... in forum C++ Programming
    Replies: 4
    Last Post: 09-02-2003, 02:53 PM
  5. how do u find 2nd largest number??
    By juancardenas in forum C Programming
    Replies: 8
    Last Post: 02-14-2003, 08:28 AM