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 |
What is for loop and its syntax?
define oops concept with example
What type of Job you are providing?
what isthe difference between c structure and c++ class
Conversion from a basic type to a class type may be achieved using______________
Can we have inheritance without polymorphism?
What are the advantages of polymorphism?
WRITE A SIMPLE C++ PROGRAM TO SWAP TWO NOS WITHOUT USING TEMP
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
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?
the difference between new and malloc
#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]; }