void main ( ){int a [4];int *p;P=a;*P=10;P++;*P=20;P=&a[2];*P=30for (int i=0; i<3; i++)cout <<a[i] <<" , " , Write output

Asked by Last Modified  

Follow 6
Answer

Please enter your answer

Code does not compile as there is no uppercase P declared in the code. If ignored this mistake output is 10, 20 & 30
Comments

Tutor

Compile error. Variable declaration error and syntax error.
Comments

Whatsapp me to contact www.mathdecode.com

This is a comprehensive course. 3weeks are less if you are a biginner.
Comments

Whatsapp me to contact www.mathdecode.com

This is a comprehensive course. 3weeks are less if you are a biginner.
Comments

IT Professional with 10 years of hands on experience in iOS Development

Syntax error, compilation error.
Comments

View 3 more Answers

Related Questions

which course do u suggest me to do to get placed in IT. Im a 2008 graduate.
Definitely any of the programming languages. To the most of it, learn generic skills most common to all of those in the market.. Whether Java, DotNet whatever. Master the frameworks in it.
Profile Photo
David
What is the difference between Paste and Paste Special Option in Excel?
Paste is a feature that lets users cut or copy items from a Cells and transfer them to another. Paste Special allows the items being transferred to be formatted in several different ways. Paste Special...
Profile Photo
Vijaya lakshmi
Which online teaching software is best?
Now a days "GoToMeeting" tool from Citrix is well popular and very healthy feature make them one step ahead over other tools. You can see following few important features for this tool. FEATURES •...
Profile Photo
Aditya

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Student Project Development: How To Go About It?
A lot of students (count me as well) in their final year of IT course are confused and overwhelmed about their Project development. Final Year IT Projects are a crucial milestone in every IT students educational...
Profile Photo

10 Study Tips to Achieve your Goals
This is particularly true of students that are looking to make the most of their study time and get better grades at Organization. 1. Set Study Goals: There is lots of credible research suggesting that...
Profile Photo

Focus on Fundamentals
It is very important to focus on fundamentals of any subject one is interested to gain command over that subject. If one learns and understand the fundamentals throughly, it is easy to grasp the advance...
Profile Photo

C and C++ programming with memory level debugging
Understanding C and C++ programming by using memory level debugging. Step 1: Understand the Memory map of C executable Step 2: Start memory level debugging using popular IDE Step 3: Find the memory...
Profile Photo

History of SQL server
In 1988, Microsoft released its first version of SQL Server. It was designed for the OS/2 platform and was developed jointly by Microsoft and Sybase. During the early 1990s, Microsoft began to develop...
Profile Photo

Recommended Articles

MCTS Certification in India The Microsoft Certified Technology Specialist or MCTS certification is suited for professionals who want to get into profession of implementing, building, troubleshooting, and debugging a particular Microsoft technology. The MCTS certification can give you a clear edge over others to showcase...

Read full article >

Whether you are using a laptop or a desktop, the mouse surely takes up time. Imagine if you could alone manage with the keys and not have to move your hands around the mouse? That would have been faster and so much time-saving. For example, Control + Z for undo or Control + Y for redo, definitely saves time when we are...

Read full article >

Decades back, when computers were being introduced in office premises, PPT was a new terminology that all employees tried to learn. Now PPT has made its way far away from offices and is an integral part of schools, colleges, and several other official proceedings. This is because PPT is an user-friendly computerized method...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for Computer Software Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you