what is a static function

Answer Posted / abhishek verma

1.Static function can access only static data member.
2.Only class name and scop revolution '::'is requered to
call the static fuction.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is restrict keyword in c?

647


Why structure is used in c?

600


What is meant by preprocessor in c?

540


What is the scope of static variables in c language?

634


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

681






How do you print an address?

752


What is the difference between declaring a variable by constant keyword and #define ing that variable?

2706


How will you delete a node in DLL?

688


what are the 10 different models of writing an addition program in C language?

1443


Why is c so powerful?

691


What is %g in c?

626


Why do we use stdio h and conio h?

642


What are predefined functions in c?

571


Is using exit() the same as using return?

683


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

1791