What is difference between #define and const?
Answer Posted / sirin
#define MAX 100 - create constant with no type information
const int max = 100 - with type information
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Can you explain polymorphism?
how to get the oracle certification? send me the answer
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is destructor give example?
what is the drawback of classical methods in oops?
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.
Advantage and disadvantage of routing in telecom sector
what type of questions
What is the types of inheritance?
What is stream in oop?
why reinterpret cast is considered dangerous?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
How do you achieve polymorphism?
Why is there no multiple inheritance?
Why is polymorphism used?