What is the difference between = and == in C?
Answer Posted / nila
= this is assignment operator.it is used to assign a
variable to variable and assign a value to variable.
== this is comparison iperator.it is used to compare any
two variable and values.
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
What are the uses of pointers?
Comment on assignment operator in c++.
What is increment operator in c++?
How much maximum can you allocate in a single call to malloc()?
What is function overriding in c++?
What is an adaptor class in c++?
What are the various operations performed on stack?
What is the difference between an external iterator and an internal iterator?
Program to check whether a word is a sub-string or not of a string typed
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 meant by iomanip in c++?
What is recursion?
What is time h in c++?
Define the process of error-handling in case of constructor failure?
How does class accomplish data hiding in c++?