How to declare a pointer to an array of integers?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Is c++ the most powerful language?

0 Answers  


How size of a class can be calulated?

2 Answers  


Can we declare destructor as static? Explain?

3 Answers  


Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300

0 Answers  


How the virtual functions maintain the call up?

0 Answers  


int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30

2 Answers   AIG, Quark,


show that among any group of five (not necessary consecutive ) integers, there are two with the same remainder when divided by 4.

1 Answers  


Eplain extern keyword?

0 Answers  


How would you implement a substr() function that extracts a sub string from a given string?

0 Answers  


Explain the scope of resolution operator.

0 Answers  


Why is null pointer used?

0 Answers  


Explain the ISA and HASA class relationships. How would you implement each in a class design?

3 Answers  


Categories