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.
Languages The language is a program containing rules and guidelines to help us in making programs. There are various languages like C, Basic, COBOL, PASCAL, FORTRAN etc. Th
Long term goal of artificial intelligence: This is not to be complex with the applications of AI programs to other sciences, discussed later. Rather, it is just pointing out th
Control Unit of the processor: The Control Unit of the processor is that unit which controls and coordinates the execution of instructions by the processor. It is responsibl
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
Nano programming using microcontrol and circuits
An example code on LDS
role of an system analyst as an innovator
advantages of file base system
how does one create a database in mysql
The geometric mean is obtained by multiplying all the four numbers and taking the fourth root of the product. Let x 1 ,x 2 ,x 3 and x 4 be the given four numbers then geometric
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