-
-
How to find the size of a class
Size of a class which isclass C{ int i;char c;}int size is 4 and char is 1 but the size of class is coming 8, give the explanation for that?
-
-
*q='m';/*error*/
q="bye";
char const *s="hello";
*s='m';/*error*/
s="bye";
char *const t="hello";
*t='m';/*works*/
t="bye";/*error*/
">Please give me clear idea about these following declaration.const char *q="hello";*q='m';/*error*/q="bye";char const *s="hello";*s='m';/*error*/s="bye";char *const t="hello";*t='m';/*works*/t="bye";/*error*/
-
-
-
-
Write a function of your own to comparison of two strings using class concept
(without using the built in functions of C++)
-
-
-
-
-
-
-
-
-
-
-
-
OOPS Interview Questions
Ans