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
What is the renewal class?
write a program that takes input in digits and display the
result in words from 1 to 1000
write a program to find 2^n+1 ?
Write a program to sort the number with different sorts in
one program ??
what are the different types of qualifier in java?
Write a program to compute for numeric grades for a course.
The course records are in a file that will serve as the
input file. The input file is in exactly the following
format: Each line contains a student's first name, then one
space, then ten quiz scores all on one line. The quiz scores
are in whole number and are separated by one space. Your
program will take it input from this file and sends it
output to a second file. The data in the output file will be
exactly the same as the data in the input file except that
there will be one additional number (of type double) at the
end of each line. This number will be the average of the
student's ten quiz scores. Use at least one function that
has file streams as all or some of its arguments.
Get me a number puzzle game-program
Why is it so that we can have virtual constructors but we
cannot have virtual destructors?
There are two base class B1,B2 and there is one class D
which is derived from both classes,
Explain the flow of calling constructors and destructors
when an object of derived class is instantiated.
can we make game by using c
write a C++ program for booking using constructor and
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
to find out the minimum of two integer number of two different
classes using friend function
i am getting an of the type can not convert int to int *.
to overcome this problem what we should do?
assume the program must insert 4 elements from the key board
and then do the following programs.sequential search(search
one of the elements),using insertion sort(sort the element)
and using selection sort(sort the element).