all about pointers
Answers were Sorted based on User's Feedback
Answer / ps
Pointers are variables which hold the address of other
variables.
int i = 10;
int *a = &i;
i = 20;
where a will store the address of variable i and *a will
have the value of i.
There are different types of pointers in C++:
Null pointers
Void pointers
Wild pointers
this pointers
| Is This Answer Correct ? | 3 Yes | 0 No |
why constructor cannt be declar virtually? why destructor cannt be overloaded?
What is the benefit of oop?
What are the 4 main oop principles?
What is public, protected, private?
what is the difference between virtual function and destoctor?
class type to basic type conversion
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What do you mean by variable?
how can we design a magic square in c++?or suggest me the basic idea of it.
Write a macro for swapping integers
What are the three parts of a simple empty class?
Write a program to find out the number of palindromes in a sentence.