What is the difference between Char a[ ]=”string” and char
*a=”String”
Answer Posted / ratish
c/c++ is case sensitive language. so Char is invalid data type. hence char *a="String" is correct answer.
| Is This Answer Correct ? | 11 Yes | 14 No |
Post New Answer View All Answers
If there are two catch statements, one for base and one for derived, which should come first?
How many types of comments are there in c++?
What is the best way to declare and define global variables?
Is c++ map a hash table?
Why is swift so fast?
What is an undefined reference/unresolved external symbol error and how do I fix it?
What is a forward referencing and when should it be used?
What is a vector c++?
Which programming language is best to learn first?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
What is the auto keyword good for in c++?
Can union be self referenced?
How much do coding jobs pay?
What are literals in C++?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?