int age=35;
if(age>80)
{Console.WriteLine("Boy you are old");}
else
{Console.WrieLine("That is a good age");}
No Answer is Posted For this Question
Be the First to Post Answer
Explain the different access specifiers for the class member in c++.
If a function doesn’t return a value, how do you declare the function?
What is purpose of abstract class?
Who was the creator of c++?
How are pointers type-cast?
What is difference between class and structure in c++?
Why namespace is used in c++?
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
What are the advantages and disadvantages of using inline and const?
2 Answers Polaris, TCS, Zimmer Biomet,
Which is best ide for c++?
give me some class & objects examples?
What is atoi in c++?