Sawaal
     Powered by Bixee Crawl
Results 76 - 90 of about 17197 sawaal for "function"
Sort by: Recency | Relevancy

How to write your own function for standard library functions strcat strcpy strcmp?

it is possible to do it manually. Loop through your character arrays and compare / copy. Suppose you are char orig[100...]; strcmp: for int i=0; orig[i...] != 0; i if orig[i...] != other[i...] return false; return true; // because reached the end of the string. and copy will be similar: first get the le

Posted in Computers & Technology by gilli... at 4:55 PM on November 03, 2008

What is the difference between member function and normal function?

is not available contiguously but available at different locations....Assuming function is not a part of any class, and member function obviously is a part of a class, the difference is their scope.1. Function - is normally refered to a C-style function which has a global level scope. As long as its declaration is visible in a file where it is being used, and the definition is available somewhere in the application

Posted in Computers & Technology by Neha Bist at 11:24 PM on November 02, 2008

How do I construct declarations of complicated types such as array of N pointers to functions returning pointers to functions returning pointers to char.

;/ function returning pointer to char / typedef fpc pfpc;/ pointer to above / typedef pfpc fpfpc;/ function returning... / typedef fpfpc pfpfpc;/ pointer to... / pfpfpc a[N...];/ array of... / 3. Use the cdecl to function returning pointer to function returning pointer to char char a[...]

Posted in Kanpur by keshav at 8:32 PM on October 08, 2008

Should my class declare a member function or a friend function?

it to befirst. Another good use of friend functions are the binary infix arithmeticoperators. E.g., aComplex aComplex should be defined as a friend rather thana member if you want to allow aFloat aComplex as well member functions dontallow promotion of the left hand argument, since that would change the class ofthe object that is the recipient of the member function invocation.In other cases, choose a member

Posted in Lucknow by Anand at 11:26 PM on October 07, 2008

How do you determine whether to use a stream function or a low-level function?

Stream functions such as fread and fwrite are buffered and are more efficient when reading and writing text or binary data to files. You generally gain better performance by using stream functions from, written to, and unlocked, the stream functions do not perform as well as the low-level functions. This is because it is hard to buffer a shared file whose contents are constantly changing

Posted in Computers & Technology by Sanjana at 3:14 AM on August 12, 2008

my freind at Khairatabad area , needs the best function hall who suits for a capacty of 50 people for a small function ?

Anandnagar Community HallAddress6-3-609/95/1, Anandnagar Welfare Association, Khairatabad, Hyderabad - 500004Contact InformationTelephone: 2330-7805...well balu check in Anandnagar Community Hall Address6-3-609/95/1, Anandnagar Welfare Association, Khairatabad, Hyderabad - 500004 Contact InformationT

Posted in Hyderabad by balu471 at 4:47 PM on July 22, 2008

I wanted to ask about the movie awards. The award functions are conducted in Dubai, Shilong, & so on.Why for?When none of the foreign functions are held in Ind.

I dont think Shillong is a foreign place and film award functions are not held there either! If youre talking about Indian film awards, a lot of them are certainly held in India. A few like the IIFA awareness about the cities. It can also be a holiday for the stars. People in Dubai Seycelles and all would love to meet and see our stars....Remember any awards functions purpose and motive is PROMOTION of a

Posted in Movies by Chinmay at 1:53 AM on March 22, 2008

is the function of memory card same as the function of hard disk in PC?

yes the function of memory card and hard disk are same. but there are totally different from each other .

Posted in Computers & Technology by saurabh at 12:23 AM on March 05, 2008

list of standard functions availabe in function module of SAP

is used to display the F4 values for any field.iiZMESSAGEDISPLAY To display Message Logs as an ALV.iiiDDSHLPCALLFROMDYNPTh is function is used to provide F4 help using matchcodes.ivWWWLISTTOHTMLAf ter running a report, call this function to convert the list output to HTML.vWSVOLUMEGETGet the label from a frontend device.viWSMSG Create a dialog box in which you display an one line messagevii

Posted in Computers & Technology by siddharth at 6:33 AM on February 24, 2008

How can I write a function which takes a variable number ofarguments and passes them to some other function which takes avariable number of arguments?

In general, you cannot. Ideally, you should provide a versionof that other function which accepts a valist pointeranalogous to vfprintf. If thearguments must be passed directly as actual arguments, or if youdo not have the option of rewriting the second function toaccept a valist in other words, if the second, called functionmust accept a variable number of arguments, not a valist, noportable solution

Posted in Computers & Technology by yamaha at 6:29 AM on February 06, 2008
Tags bca

If I have a char variable pointing to the name of a function,how can I call that function?

The most straightforward thing to do is to maintain acorrespondence table of names and function pointers:int func, anotherfunc;struct char name; int funcptr; symtab[...] = "

Posted in Computers & Technology by yamaha at 7:05 AM on February 04, 2008
Tags bca

How do I declare an array of N pointers to functions returningpointers to functions returning pointers to characters?

You cant quite do it directly. Either have the function returna generic function pointer, with some judicious casts to adjustthe types as the pointers are passed around; or have it return astructure containing only a pointer to a function returning thatstructure.

Posted in Computers & Technology by yamaha at 7:51 AM on February 02, 2008
Tags bca

main is a user defined function - how is it different from other user defined functions?

When a program begins running, the system calls the function main, which marks the entry point of the program. Every program must have one function named main. No other function in the program can be called main. A main function has one of two forms: C int main void blockstatement Cint main blockstatement int main int argc, char argvblockstatement The argument argc is the number of command

Posted in Computers & Technology by Joydeep at 12:46 AM on December 20, 2007
Refine By Date
Refine By Categories
Search ibibo