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.
what is algorithm
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.
Artificial Intelligence research: Artificial Intelligence research may be describe in terms of how the following question has been answered: "How are we going to get a comp
SMA* Search-Artificial intelligence IDA* search is good from a memory point of view. actually it may be criticised for not using enough memory - utilizing more memory may inc
Magnetic tapes and Magnetic Disk: Magnetic tapes are very commonly used for storing large quantum of data for which rapid access is not necessary; specially for archival data
DUNIYA KA AISA KONSA KOMPUTER HAI. JISME KEYBORD, MOUSE NAHI HAI?
Question 1 Explain the operations of ALU Question 2 Write down the Booth's Multiplication Algorithm with an example Question 3 Explain the characteristics of memor
A Python identifier is a name used for classify a function, variable, class, module or any other object. An identifier begins with a letter A to Z or a to z or an underscore (_) fo
In this technique, the kernel knows about and handles the threads. No runtime system is required in this case. In place of thread table in each process, the kernel has a thread tab
what is the logic diagram for the Boolean expression x''y + xy'' + xz
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