What is the difference between Char a[ ]=”string” and char
*a=”String”

Answers were Sorted based on User's Feedback



What is the difference between Char a[ ]=”string” and char *a=”String”..

Answer / nisha

a[0] that is 's' is upper in last and in other its lower .

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More C++ General Interview Questions

How would you implement a substr() function that extracts a sub string from a given string?

0 Answers  


Differentiate between a deep copy and a shallow copy?

1 Answers  


explain the reference variable in c++?

0 Answers  


Write a function to find the nth item from the end of a linked list in a single pass.

0 Answers   Huawei,


Can we declare destructor as static? Explain?

3 Answers  


What are the difference between reference variables and pointers in C++?

1 Answers  


When a function is made inline. Write the situation where inline functions may not work.

2 Answers  


Implement strcmp

3 Answers   Bloomberg, Citadel,


Explain the difference between new() and malloc() in c++?

0 Answers  


What is class syntax c++?

0 Answers  


What is the topic of the C++ FAQ list?

1 Answers  


Is there any difference between dlearations int* x and int *x? If so tell me the difference?

16 Answers   Lason,


Categories