IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE
VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE
THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
when to use 'mutable' keyword and when to use 'const cast'
Where You Can Use Interface in your Project
i am getting an of the type can not convert int to int *.
to overcome this problem what we should do?
int nCount = 0;
cout << "This is some method --> " << nCount;
It will executes the someMethod() and displays the value
too. how is it possible with our creating memory for the
class . i think iam not creating object for the class.
Thanks in Advance...
//please comment on the output
This program numbers the lines found in a text file. Write a
program that reads text from a file and outputs each line
preceded by a line number. Print the line number
right-adjusted in a field of 3 spaces. Follow the line
number with a colon, then one space, then the text of the
line. You should get a character at a time and write code to
ignore leading blanks on each line. You may assume that the
lines are short enough to fit within a line on the screen.
Otherwise, allow default printer or screen output behavior
if the line is too long (i.e., wrap or truncate). A somewhat
harder version determines the number of spaces needed in the
field for the line numbers by counting lines before
processing the lines of the file. This version of the
program should insert a new line after the last complete
word that will fit within a 72-character line.
i got a backdoor offer in process global,Bangalore..Can i
work with it?
Write a c++ program to display pass and fail for three
student using static member function
what is graphics
any one please tell me the purpose of operator overloading
write a program to find 2^n+1 ?
void insert(struct btreenode **, int);
void inorder(struct btreenode *);
struct btreenode *leftchild;
struct btreenode *rightchild;
struct btreenode *bt;
bt=(struct btreenode *)NULL;
printf("Enter number of nodes");
void insert(struct btreenode **sr, int num)
*sr=(struct btreenode *)malloc (sizeof(struct btreenode));
(*sr)->leftchild=(struct btreenode *)NULL;
(*sr)->rightchild=(struct btreenode *)NULL;
if(num < (*sr)->data)
void inorder(struct btreenode *sr)
if(sr!=(struct btreenode *)NULL)
please Modify the given program and add two methods for post
order and pre order traversals.
how to find the correct email address format by using the
is there any choice in opting subjects like 4 out of 7