What is the difference between Char a[ ]=”string” and char
*a=”String”
Answer Posted / kanakesh
using char*a we can't assign new individual character like
a[2]='k';
| Is This Answer Correct ? | 10 Yes | 9 No |
Post New Answer View All Answers
What is auto type c++?
What is the best book for c++ beginners?
Is c++ still in demand?
What is the cout in c++?
List the special characteristics of constructor.
What are the advantages of using a pointer?
What are abstract data types in c++?
What is the real purpose of class – to export data?
What are different types of loops in c++?
How do pointers work?
What are move semantics?
Is C++ case sensitive a) False b) Depends on implementation c) True
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
What is iterator in c++?
What is c++ virtual inheritance?