When a variable is declared with static keyword,its called
as static variable,means it retains its value across
different function calls.Its basically used for counting no
of objects created for a class in C++ and its initialized to
0 by default.
When a function declared as static,its called as static
function.It can only operate on static variables.
Please Help Members By Posting Answers For Below Questions
explain sub-type and sub class?
atleast u have differ it into 4 points?
what is different between oops and c++
How Do you Code Composition and Aggregation in C++ ?
void insert(char *items, int count);
printf("Enter a string:");
printf("The sorted string is: %s.\n", s);
void insert(char *items, int count)
register int a, b;
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
C#.net Interview Question
The above will be given in a multiline textbox. You need to
parse the above input, store values for A,B&c. And you have
to display the value of C.
define oops concept with example
can we make game by using c
any one please tell me the purpose of operator overloading
write a program to find 2 power of a 5digit number with out
using big int and exponent ?
what are the realtime excercises in C++?
How to handle exception in c++,
For example in a functions i am assigning memory to some
variables and also in next instructions in am dividing one
If this functions generates a error while allocating memory
to those variable and also while dividing the variable if i
divide by zero then catch block how it will identify that
this error has cone from perticular instruction
How to use CMutex, CSemaphore in VC++ MFC
design a c++ class for the chess board,provide a c++ class
definition for such class(only class definition is required)
What is debug class?what is trace class? What differences are between them? With examples.