Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have a function which accepts a pointer to an int. How
can I pass a constant like 5 to it?

Answer Posted / guest

You will have to declare a temporary variable.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Stimulate calculator using Switch-case-default statement for two numbers

2985


Differentiate between functions getch() and getche().

1047


What are the types of type qualifiers in c?

1085


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2094


Define recursion in c.

1278


Is fortran still used today?

1089


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2750


Difference between MAC vs. IP Addressing

1147


How can you determine the size of an allocated portion of memory?

1299


How can I send mail from within a c program?

1026


Explain how do you list a file’s date and time?

1035


Can we initialize extern variable in c?

1132


What is bubble sort technique in c?

975


How do I send escape sequences to control a terminal or other device?

1070


Should I learn c before c++?

1228