Write a c program that will take 7 integer values

Assignment Help Computer Engineering
Reference no: EM133422135

Question 1. Write a C program that will take 7 integer values from the user and store them in an Array.

Question 2. What is the purpose of the C program below? Explain and correct the code, you can comment in the program.

#include<stdio.h>

int main()

{

//

char *ptr1 = "K";

char *ptr2 = "L";

char *ptr3 = "M";

//

char* arr[3];

//

arr[0] = ptr1;

arr[1] = ptr2;

arr[2] = ptr3;

//

printf("n [%s]n", arr[0]);

printf("n [%s]n", arr[1]);

printf("n [%s]n", arr[2]);

return 0;

}

Reference no: EM133422135

Questions Cloud

How you are black history in the making : how you are black history in the making. What are you doing with your life and planning to do with your life that will be a part of black history
What do you think the future financial impact of this event : What was interesting about the article? Why did you choose it? Who is the article about? What is the source of information for this event?
Explain how do you know that foundation was achieved : Which foundation of belonging, engagement, well being and expression will be flourish in children with painting? Refer to how does learning happening?
How to reward yourself for the process and develop a growth : What do you think about the concepts of rewarding the process and small goals met? How do you think it can help you and the person you are writing to?
Write a c program that will take 7 integer values : COP 1200 Northwest Florida State College - Write a C program that will take 7 integer values from the user and store them in an Array
What is the general topic of the presentation : What is the general topic of the presentation? Is the presentation relevant to understanding social injustice and oppression? Please explain.
How does it know whether that packet contains : how does it know whether that packet contains (part of) an email, a request for a website, an instant message, or something else altogether
What will a strengths-based learning environment look like : Think of at least one of your top 5 strengths you would like to build on. How might you utilize this attribute more in your life? How might things change
Explains how your developed your personality : which theory of personality do you think best explains how your developed your personality? If you had to have a personality assessment, which type

Reviews

Write a Review

Computer Engineering Questions & Answers

  What type of exception would be thrown user enter wrong type

What type of exception would be thrown if the user enters the wrong type of data when requested from the keyboard? System.FormatException.

  A program to interpret the functional character

Write a C/C++ program to interpret the functional character (

  Write basic programming logic

Analyse the historical data you have available, and create a spreadsheet that allows a member of the Hat World team to enter the hat material and size

  Draw the er diagram using the concise form

For the HIGH SCHOOL entity, we will reDraw thcord the high school name and the location (meaning, city and state). Draw the ER diagram using the concise form.

  Report an error if the input string does not contain a comma

Report an error if the input string does not contain a comma. Continue to prompt until a valid string is entered.

  What is largest and smallest number that can be represented

What is the value n, the smallest number of bits needed to represent all of these numbers in 2's complement representation? What is the largest and smallest number that can be represented?

  How arrangement of subnet masks to make this possible

Suggest what the company may do if department D grows to 34 hosts.

  What is the name of the buyer who bought item

You are setting up your own business by developing an Electronic Auction website for the staff, students, and faculty of your University.

  What you understand by coordination and coherence

Explain, with the aid of examples where appropriate, what you understand by coordination and coherence in the context of cooperative distributed problem solving systems - Briefly identify the main advantages and disadvantages of specifying tasks v..

  Creating a market strategy using blockchain technology

Submit a 5 page paper (APA style) creating a market strategy using Blockchain technology to increase knowledge about consumer preferences and developing.

  Explain how sn can be used as an it asset

Social networking, used strategically, can be viewed as an information resource. Select a firm to analyze. Explain how SN can be used as an IT Asset.

  Discuss full implementation and acceptance of the new system

Make a recommendation to senior management about preventing possible barriers for full implementation and acceptance of the new system

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd