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
What is c mainly used for?
Differentiate between null and void pointers.
What are categories used for in c?
Can a pointer be volatile in c?
Explain why C language is procedural?
What is structure and union in c?
Why can’t constant values be used to define an array’s initial size?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What is the purpose of void in c?
write a programming in c to find the sum of all elements in an array through function.
What is %s and %d in c?
What is the size of empty structure in c?
Why do we use header files in c?
In which layer of the network datastructure format change is done
how to find anagram without using string functions using only loops in c programming