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

Can we make 2 folders of same name in the same place without copying or without changing any script?
First go to the folder or drive where you want to make the same named file or folder. Lets assume that you are creating folder named IT Now create an another new folder and name it as IT and then press Alt+0160 from numeric keypad. That's it!
Sachin
I m B.E CS graduate confusion in to do job or study and what to study
Join any startup and work few maximum two years and then go for further study. Which will be helpful for your career.
Veena
Give me details about security options in Excel?
In Microsoft Office Excel, you can change the macro security settings to control which macros run and under what circumstances when you open a workbook. For example, you might allow macros to run based...
Vijaya lakshmi
C machine independent Programming Language? C is portable . Means What?
It can work on various hardware configuration . C doesnt require mandatory or same set of hardware to run program. A program can written on one comp. And can run on other comp.(machine)
Shiva

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

Ask a Question

Related Lessons

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...

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...

For All The New Developers
Language to use: Any language that you are learning. Interface: Web or Desktop Function: Simple calculator (9 digits + symbol) with 1 Memory storage with possible function of + - * / Error Handling...
R

How Motivation Affects Learning and Behavior
Motivation directs behavior toward particular goals. Motivation leads to increased effort and energy. Motivation increases the amount of effort and energy that learners expend in activities directly...

Graphics and Game Development
Hi there, I am sure you all would have played video games for killing time. Do you know how these are developed? I am going to introduce you to some details of the gaming industry. Gaming is a serious...

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