Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between #import and #include in c++?
What is the full form of stl in c++?
Explain what is oop?
Explain binary search.
How to avoid changing constant values?
Explain the concept of copy constructor?
What is implicit conversion/coercion in c++?
What is the iunknown interface?
Is the declaration of a class its interface or its implementation?
What is the cout in c++?
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
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.