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 the difference between a mixin and inheritance?
Difference between over loading and over ridding?
12 Answers CTS, Patni, Softvision Solution,
write a c++ program to find maximum of two numbers using inline functions.
What is the difference between abstraction and polymorphism?
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?
whats the difference between c and c++
What is a class in oop?
What is the point of polymorphism?
#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort
i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<<k; } //please comment on the output
In multilevel inheritance constructors will be executed from the .... class to ... class
Is enum a class?