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.
if statement with explanation
Suppose you are designing a database for an art museum that owns a large volume of works of art. Each work of art is described by a unique item code, a title, a type, and a size. T
The use of manage files very much facilitates the creation of files and programmer can focus on other aspects of the programming lacking worrying on details which can be handled by
These instructions permit the use of the stack to store or recover data. POP POPF PUSH PUSHF POP INSTRUCTION Purpose: It improves a portion of information from the stack POPF INST
Define opportunity cost The opportunity cost of any commodity is defined as the cost of next best alternative, which has been sacrificed for producing the given commodity. Th
#que1) Create telephone directory. • The heading should be 16-point Arial font in bold • The rest of the document should use 10-point font size • Other headings should use 10-point
Memory : Computers store information internally as well as externally. Linked to CPU is an internal memory unit where all the instructions and data are stored. It contains the
how will a poorly conducted feasibility study affect an implemented system
A car battery is of 12 V. Eight dry cells of 1.5 V each connected in series can give 12 V. But such cells are not used in starting a car. Why?
A Patient Registry Name, Surname and Address Sex Caste Contact Numbers Area (Rural/Urban/Suburban) City/District State General Examination deta
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