what is a static function

Answer Posted / ravi

static funcn means which called itself and dere is no need
of object to call static funcn..
static fun will use only static variables but not ordinary
variables..

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

728


What is structure padding in c?

632


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

1731


Why cant I open a file by its explicit path?

595


What is the use of #include in c?

585






What is the size of structure in c?

705


How does struct work in c?

611


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

1770


Why we use conio h in c?

591


What does the function toupper() do?

661


is it possible to create your own header files?

648


Explain spaghetti programming?

684


How can you access memory located at a certain address?

670


Write the Program to reverse a string using pointers.

620


Define recursion in c.

704