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
Why is c++ still popular?
What is dynamic and static typing?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What is difference between malloc()/free() and new/delete?
How do we balance an AVL Tree in C++?
How do you generate a random number in c++?
What is a v-table?
How a new operator differs from the operator new?
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
What are the characteristics of friend functions?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
Difference between a homogeneous and a heterogeneous container
How can we access protected and private members of a class?
What is the role of static keyword for a class member variable?