Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
QUESTION
(a) Write a program to swap two names between two variables for examples:
N1 = "Mary Anne"
N2 = "Queen Mary".
The program should make use of an appropriate Function (for e.g. SwapFunc() ) and pointers to do this.
Your program should have three blocks namely the function declaration , the main and finally the function definition.
The Function SwapFunc() should be called from main.
The program should display the names in each variable before and after calling the function SwapFunc() in main.
(b) Write a piece of code (C or C++) to declare a pointer that is pointing to an array of characters named mychar for e.g.
mychar may contain the following five characters z, y, x, w, v
Your program should include codes to declare the array and the pointer to the array. It should also include codes to display the address of the first element in the array using pointers.
Using a loop for the pointers the subsequent codes should display the addresses of the four remaining characters.
2. Mike sells on the average 15 newspapers per week (Monday – Friday). Find the probability that 2.1 In a given week he will sell all the newspapers [7] 2.2 In a given day he w
write a function named "location_of_largest"that takes as its arguments the following:(1) an array of integer values
implement your own hashset
Problem 1. Obtain the truth table and a Boolean expression for the following conditions: x is 0 if any two of the three variables are 1. x is 1 for all other conditions.
Types of Printers 1. Impact printers The impact printers produce the image through a mechanism of striking on the stationary. 2. Line Printer This type of printer
how to use computer and how we can manage it
discuss waterfall
Question 1 Write a note on modems Question 2 What are the Safe Chatting Rules Question 3 Explain three basic kinds of hypertext links Question 4 Write a no
Explain about conditional codes
solution of two degree of freedom system with matlab program???
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd