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
can anyone please tell about the nested interrupts?
What are the disadvantages of external storage class?
Explain what does the format %10.2 mean when included in a printf statement?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Explain how do you use a pointer to a function?
What are c identifiers?
What is register variable in c language?
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 can variables be characterized?
How can I do serial ("comm") port I/O?
What do you understand by friend-functions? How are they used?
What is a spanning Tree?
Do you know pointer in c?
Is anything faster than c?