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

What is for loop and its syntax?

1 Answers  


define oops concept with example

1 Answers   Cap Gemini,


What type of Job you are providing?

0 Answers  


what isthe difference between c structure and c++ class

5 Answers  


Conversion from a basic type to a class type may be achieved using______________

5 Answers   HCL,


Can we have inheritance without polymorphism?

1 Answers  


What are the advantages of polymorphism?

1 Answers  


WRITE A SIMPLE C++ PROGRAM TO SWAP TWO NOS WITHOUT USING TEMP

2 Answers  


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

1 Answers  


Hi All, I am new to programming and want to know how can i write a code to take input of 2 numbers from user and swap it without using a temp variable?

2 Answers   NIIT,


the difference between new and malloc

5 Answers   Siemens,


#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }

1 Answers  


Categories