The type of variable a pointer points to must be the part of
pointer's definition so that:



The type of variable a pointer points to must be the part of pointer's definition so that:..

Answer / karthiga

a)data types don't get mixed up when arithmetic is performed
on them
b)pointers can be added to one another to access structure
members
c)the compiler can perform arithmetic correctly to access
array elements
d)both a and c

Is This Answer Correct ?    12 Yes 2 No

Post New Answer

More OOPS Interview Questions

write a function that takes an integer array as an input and finds the largest number in the array. You can not sort array or use any API or searching needs?

2 Answers   IBMS, Zycus Infotech,


What is inheritance in simple words?

0 Answers  


what is difference between objects and function

1 Answers  


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.

0 Answers  


Why u change company?

12 Answers   BOB Technologies,






There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

4 Answers  


Generally, in all C++ programs, texts are in white colour. Can we change the colour of the text(either input or output or both)? If so, help me out.

1 Answers  


What is difference between #define and const?

3 Answers   emc2,


What is abstract class in oop?

0 Answers  


What is deep and shalow copy?

3 Answers   L&T, TCS,


Explain the concepts involved in Object Oriented programming.

0 Answers   Wipro,


What does the keyword "static" mean?

4 Answers   TCS,


Categories