Write a corrected statement in c++ so that the statement
will work properly. if (x = y) x = 2*z;
Answers were Sorted based on User's Feedback
How is c++ used in the real world?
What is jump statement in C++?
What are arrays c++?
What's the most powerful programming language?
What is the main purpose of c++?
What are different types of polymorphism supported by C++
What is the advantage of an external iterator.
i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
What is the use of ‘using’ declaration?
What are member functions used in c++?
What is a lambda function c++?