STL (140)
OOPS (873)
C++ General (2409) 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
1 4892which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.
4 6377a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?
CTS,
2 4484Hi i need to Acess a variable "int Intval" in the below mentioned code .How to Access it guys i am waiting for your reply
3 4820How to Increment the value of the empid E001 for each and every employee by using the programe?
1 3658what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??
4 7997
What is the difference between static polymorphism and dynamic polymorphism?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
How would you use the functions sin(), pow(), sqrt()?
Write a program that can take input from 3 to 8 and calculate the average?
In C++ what is the meaning of data hiding?
What is the meaning of string in c++?
Is swift better than c++?
Can you explicitly call a destructor on a local variable?
how can i access a direct (absolute, not the offset) memory
address?
here is what i tried:
wrote a program that ask's for an address from the user,
creates a FAR pointer to that adress and shows it. then the
user can increment/decrement the value in that address by
pressing p(inc+) and m(dec-).
NOW, i compiled that program and opened it twice (in 2
different windows) and gave twice the same address to it.
now look what happen - if i change the value in
one "window" of the program, it DOES NOT change in the
other! even if they point to the same address in the memory!
here is the code snippet:
//------------------------------------------------------
#include How do you use inheritance in unity? How to call a non virtual function in the derived class by
using base class pointer What are pointer-to-members? Explain. Can bst contain duplicates? Explain the pure virtual functions?