Science, asked by yadavankit7174, 1 year ago

Subjective question on static function in c++

Answers

Answered by jatin1896
0
Possibe questions :

1. What do you mean by the keyword "static"? What are static variables? Discuss about static functions. What is the difference between member function and static function?

2. Write a program depicting the difference between member function and static function.
Answered by Aadya16
0
Int (*p)[MAXCOL] P = new int[MAXROW][MAXCOL]6) Allocate a 2-D array using new such that its elements to be accessed as a[i][j].Q3)
fun(int a)
{
static int b;
}Q1) int a[10[15];
char b[10[15];
What will be the location of a[3][4], if base location a[0][0] is ox1000?
What will be the location b[3][4], if base location b[0][0] is ox2000?Subjective question on static function in c++
Similar questions