class foo {
public:
static int func(const char*& p) const;
};
This is illegal, why?
Answer Posted / kalpana.y
this is illegal because
->here the class name is foo
->but,func is declared
->const is declared at outside
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Why does the call char scanf work?
What does 2n 4c mean?
define string ?
What is the right way to use errno?
What are the types of data files?
Simplify the program segment if X = B then C ← true else C ← false
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
How do we open a binary file in Read/Write mode in C?
What is the main difference between calloc () and malloc ()?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What is the difference between single charater constant and string constant?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
What is the purpose of realloc()?
What is the Purpose of 'extern' keyword in a function declaration?
develop algorithms to add polynomials (i) in one variable