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

What we do with html?
In HTML we can design web pages with the help of frames, tags, and tables etc.
Profile Photo
Suraj
I want to learn swift programming language ,pl advise
If you are a fresher and wants to get into iOS apps developement , you must know OOPs and Objective-C .. Suppose if you get into any Company and they give old application which was written in Objective-C...
Profile Photo
Satyaraju
0 0
View Comments7
How does memory allocation is occurred during executing a simple C program .??
Segment Description Code - text segment Often referred to as the text segment, this is the area in which the executable or binary image instructions reside. For example, Linux/Unix arranges things...
Profile Photo
Arnab
what is java core language?
Core Java" is Sun's term, used to refer to Java SE, the standard edition and a set of related technologies, like the Java VM, CORBA.. "Core Java" is Oracle's definition and refers to subset of Java SE technologies.
Profile Photo
Md
0 0
View Comments9
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...
Profile Photo
Vijaya lakshmi

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

Ask a Question

Related Lessons

Essential SQL Tips For Developers And For MS SQL DBA
10 Essential SQL Tips for Developers: SQL is yet another essential language for developers wishing to create data-driven websites. However, many developers are unfamiliar with various aspects of SQL;...
Profile Photo

Java and C trainer
Always think any conspect with real-time example like Object -- object must have states and behaviour then only we will call that thing is Object like fan is Object (rotating,color)
Profile Photo

Python breaks into the top three programming languages in the Tiobe Index for the first time.
Python breaks into the top three programming languages in the Tiobe Index for the first time. The popularity of Python shows no sign of waning, with the programming language entering the top three in...
Profile Photo

Efficient Learning Strategies
Type your notes after class Write your notes onto flashcards - Scrabble -Make posters Review flashcards while walking, at gym, etc. Dog-ear pages in the reading where you can find...
Profile Photo

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

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