What is the difference between Char a[ ]=”string” and char
*a=”String”
Answer Posted / niranjan kumar niraj
char a[]="string" returns characters and char *a[]="String"
returns address of character
Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
What is enum c++?
Explain container class.
What is a tuple c++?
What is the limitation of cin while taking input for character array?
How to declare a pointer to an array of integers?
Differentiate between realloc() and free().
What does ios :: app do in c++?
What is anonymous object in c++?
What is the use of endl?
What is the difference between prefix and postfix versions of operator++()?
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
Is linux written in c or c++?
What is iomanip c++?
What can c++ be used for?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number