UrbanPro

Learn IT Courses from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Majority of the people now a days take things for granted. And they assume that they know things, which will not be true in reality. With respect to that, let me ask a question related to C language. This question is for students and not for trainers. If you as a student can answer to such questions, then fine. Otherwise, you need to look back. Below is the question: #include "stdio.h" unsigned int myprint; int main ( ) { myprint = printf; myprint ("code is working \n"); return 0; } What is output of the above code snippet? If it works, how? You need to justify. If it does not work, why? You need to justify. You can also propose solutions. Note 1: Do not use #define Note 2: Do not directly put code on to computer. First analyze by putting it on paper. Use computer, only to validate / verify your analysis Note 3: I can put more of such questions related to C, Linux and Scripting (Python, Perl and Tcl), if students are interested.

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

This will produce error. 1. You can not never assign a 'printf' which is a function to a integer variable. 2. 'myprint' cannot be used as a function.
Comments

Freelance technical trainer / consultant (Embedded systems, Automation / Scripting) : C, Linux, Embedded systems, python, perl, tcl

Anup, which line you expect an error? And, if it gives an error, what are the solutions you propose?
Comments

Freelance technical trainer / consultant (Embedded systems, Automation / Scripting) : C, Linux, Embedded systems, python, perl, tcl

Surprised that fresh minds are not interested to give it a try.
Comments

View 1 more Answers

Related Questions

Which is the best course after mba finance and intitute in Pune?

NISM offers courses and certifications in areas like securities markets, investment banking, and financial modeling, providing specialized training for finance professionals.
Priya

Hello I am Priyanka. I have done BCA and MBA HR. Currently I am working as HR executive in an IT company past 2 years and I want to change my carrier into SAP. So please let me know which SAP module is suitable for me and which is the best training institute in Jaipur For SAP training?

Hi Priyanka, If you want to use your HR experience and move to SAP then taking SAP hr module will be good. Successfactor is new and you can learn Successfactor and try to move into SAP
Priyanka V.
1 0
7
What is Advanced PHP?
In Advanced PHP, you can learn frameworks of PHP like CakePHP and CodeIgniter.
Geeta
When we are used the compiler and interpreter? what is the difference between them?
compiler compiles whole page or file at one time but interpreter executes line by line like we do using debugger
Shilpa

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

Ask a Question

Related Lessons

Amazing Photoshop Cs6 Effect - Puppet Warp.
Being a puppet master using Adobe Photoshop Creative Suite 6 is an easy task with Puppet Warp. Think of Puppet Warp as a lighter weight Liquify filter. This command enables you to distort specific areas...

Derived Tables
Following are the signs those qualify a query to be a derived table: These are defined in FROM clause of an outer query. It is surrounded by parenthesis followed by AS clause to define the derived...

Difference Between Insert/Update And Database.Insert/ Database.Update
insert/update Database.insert/Database.update Assume that you are inserting 100 records. If any one of the record fail due to error then entire operation will fail. None of the records will be saved...

Why do pointers have a datatype?
Before we start with pointers you must know what is a variable and a datatype. int a; This is the basic line in every program in 'C' . It means that we are asking the compiler to give us 2 bytes of space...

How to add bullets Point in MS-EXCEL
There is no direct option to add bullets in EXCEL. So we can create the bullets by the following steps: 1. Select the range where you want to apply the bullets.2. go to formate cell ==> Custom Formate.3....

Recommended Articles

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Looking for IT Courses ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for IT Courses Classes?

The best tutors for IT Courses Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn IT Courses with the Best Tutors

The best Tutors for IT Courses Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more