What does the keyword "static" mean?

Answer Posted / mangai

static functions are used to retain the last assigned
value...static function creates only one copy of arguments
and uses it...

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is not an object oriented programming language?

542


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2168


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

630


write string class as your own class in java without using any built-in function

1976


What is encapsulation c#?

600






What is pointer in oop?

535


What is for loop and its syntax?

596


Is enum a class?

607


What is class and object with example?

585


What is protected in oop?

604


Can bst contain duplicates?

668


What is the use of oops?

621


what's the basic's in dot net

1738


how to get the oracle certification? send me the answer

1670


What are properties in oop?

609